Skip to content

Commit 0cfa63d

Browse files
committed
Whitespace
1 parent f545fa8 commit 0cfa63d

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

Firmware/RTK_Everywhere/menuCommands.ino

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,9 +1381,18 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
13811381
else
13821382
{
13831383
const char *table[] = {
1384-
"baseTypeSurveyIn", "enableFactoryDefaults", "enableFirmwareUpdate", "enableForgetRadios",
1385-
"fileSelectAll", "fixedBaseCoordinateTypeGeo", "fixedHAEAPC", "measurementRateSec",
1386-
"nicknameECEF", "nicknameGeodetic", "saveToArduino", "enableAutoReset",
1384+
"baseTypeSurveyIn",
1385+
"enableFactoryDefaults",
1386+
"enableFirmwareUpdate",
1387+
"enableForgetRadios",
1388+
"fileSelectAll",
1389+
"fixedBaseCoordinateTypeGeo",
1390+
"fixedHAEAPC",
1391+
"measurementRateSec",
1392+
"nicknameECEF",
1393+
"nicknameGeodetic",
1394+
"saveToArduino",
1395+
"enableAutoReset",
13871396
"shutdownNoChargeTimeoutMinutesCheckbox",
13881397
};
13891398
const int tableEntries = sizeof(table) / sizeof(table[0]);
@@ -1404,12 +1413,12 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
14041413
if (knownSetting == false)
14051414
{
14061415
size_t length;
1407-
char * name;
1408-
char * suffix;
1416+
char *name;
1417+
char *suffix;
14091418

14101419
// Allocate the buffers
14111420
length = strlen(settingName) + 1;
1412-
name = (char * )rtkMalloc(2 * length, "name & suffix buffers");
1421+
name = (char *)rtkMalloc(2 * length, "name & suffix buffers");
14131422
if (name == nullptr)
14141423
systemPrintf("ERROR: Failed allocation, Unknown '%s': %0.3lf\r\n", settingName, settingValue);
14151424
else
@@ -1424,7 +1433,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
14241433
// Loop through the settings entries
14251434
for (rtkIndex = 0; rtkIndex < numRtkSettingsEntries; rtkIndex++)
14261435
{
1427-
const char * command = rtkSettingsEntries[rtkIndex].name;
1436+
const char *command = rtkSettingsEntries[rtkIndex].name;
14281437

14291438
// For speed, compare the first letter, then the whole string
14301439
if ((command[0] == settingName[0]) && (strcmp(command, name) == 0))

0 commit comments

Comments
 (0)