Skip to content

Commit eb5a3ae

Browse files
committed
Update NVM.ino
1 parent dd9642b commit eb5a3ae

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Firmware/RTK_Surveyor/NVM.ino

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,12 @@ bool parseLine(char* str, Settings *settings)
469469
for (int x = 0 ; x < strlen(settingValue) ; x++)
470470
{
471471
if (settingValue[x] == '.') decimalCount++;
472-
else if (x == 0 && settingValue[x] == '-') {;} //Do nothing
472+
else if (x == 0 && settingValue[x] == '-')
473+
{
474+
; //Do nothing
475+
}
473476
else if (isAlpha(settingValue[x])) hasSymbol = true;
474-
else if(isDigit(settingValue[x]) == false) hasSymbol = true;
477+
else if (isDigit(settingValue[x]) == false) hasSymbol = true;
475478
}
476479

477480
//See issue: https://github.com/sparkfun/SparkFun_RTK_Firmware/issues/274

0 commit comments

Comments
 (0)