@@ -1381,9 +1381,18 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
1381
1381
else
1382
1382
{
1383
1383
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" ,
1387
1396
" shutdownNoChargeTimeoutMinutesCheckbox" ,
1388
1397
};
1389
1398
const int tableEntries = sizeof (table) / sizeof (table[0 ]);
@@ -1404,12 +1413,12 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
1404
1413
if (knownSetting == false )
1405
1414
{
1406
1415
size_t length;
1407
- char * name;
1408
- char * suffix;
1416
+ char *name;
1417
+ char *suffix;
1409
1418
1410
1419
// Allocate the buffers
1411
1420
length = strlen (settingName) + 1 ;
1412
- name = (char * )rtkMalloc (2 * length, " name & suffix buffers" );
1421
+ name = (char *)rtkMalloc (2 * length, " name & suffix buffers" );
1413
1422
if (name == nullptr )
1414
1423
systemPrintf (" ERROR: Failed allocation, Unknown '%s': %0.3lf\r\n " , settingName, settingValue);
1415
1424
else
@@ -1424,7 +1433,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
1424
1433
// Loop through the settings entries
1425
1434
for (rtkIndex = 0 ; rtkIndex < numRtkSettingsEntries; rtkIndex++)
1426
1435
{
1427
- const char * command = rtkSettingsEntries[rtkIndex].name ;
1436
+ const char *command = rtkSettingsEntries[rtkIndex].name ;
1428
1437
1429
1438
// For speed, compare the first letter, then the whole string
1430
1439
if ((command[0 ] == settingName[0 ]) && (strcmp (command, name) == 0 ))
0 commit comments