@@ -494,26 +494,28 @@ void commandSplitName(const char *settingName, char *truncatedName, int truncate
494
494
}
495
495
496
496
// Using the settingName string, return the index of the setting within command array
497
- int commandLookupSettingNameAfterPriority (bool inCommands, const char *settingName, char *truncatedName, int truncatedNameLen,
498
- char *suffix, int suffixLen)
497
+ int commandLookupSettingNameAfterPriority (bool inCommands, const char *settingName, char *truncatedName,
498
+ int truncatedNameLen, char *suffix, int suffixLen)
499
499
{
500
- return commandLookupSettingNameSelective (inCommands, settingName, truncatedName, truncatedNameLen, suffix, suffixLen, true );
500
+ return commandLookupSettingNameSelective (inCommands, settingName, truncatedName, truncatedNameLen, suffix,
501
+ suffixLen, true );
501
502
}
502
503
int commandLookupSettingName (bool inCommands, const char *settingName, char *truncatedName, int truncatedNameLen,
503
504
char *suffix, int suffixLen)
504
505
{
505
- return commandLookupSettingNameSelective (inCommands, settingName, truncatedName, truncatedNameLen, suffix, suffixLen, false );
506
+ return commandLookupSettingNameSelective (inCommands, settingName, truncatedName, truncatedNameLen, suffix,
507
+ suffixLen, false );
506
508
}
507
- int commandLookupSettingNameSelective (bool inCommands, const char *settingName, char *truncatedName, int truncatedNameLen,
508
- char *suffix, int suffixLen, bool usePrioritySettingsEnd)
509
+ int commandLookupSettingNameSelective (bool inCommands, const char *settingName, char *truncatedName,
510
+ int truncatedNameLen, char *suffix, int suffixLen, bool usePrioritySettingsEnd)
509
511
{
510
512
const char *command;
511
513
512
514
int prioritySettingsEnd = 0 ;
513
515
if (usePrioritySettingsEnd)
514
516
// Find "endOfPrioritySettings"
515
517
prioritySettingsEnd = findEndOfPrioritySettings ();
516
- // If "endOfPrioritySettings" is not found, prioritySettingsEnd will be zero
518
+ // If "endOfPrioritySettings" is not found, prioritySettingsEnd will be zero
517
519
518
520
// Remove one because while rtkSettingsEntries[] contains detectedGnssReceiver, the command table does not
519
521
prioritySettingsEnd--;
@@ -2385,7 +2387,8 @@ SettingValueResponse getSettingValue(bool inCommands, const char *settingName, c
2385
2387
// Generally char arrays but some others.
2386
2388
2387
2389
// Loop through the valid command entries - but skip the priority settings and use the GNSS-specific types
2388
- i = commandLookupSettingNameAfterPriority (inCommands, settingName, truncatedName, sizeof (truncatedName), suffix, sizeof (suffix));
2390
+ i = commandLookupSettingNameAfterPriority (inCommands, settingName, truncatedName, sizeof (truncatedName), suffix,
2391
+ sizeof (suffix));
2389
2392
2390
2393
// Determine if settingName is in the command table
2391
2394
if (i >= 0 )
@@ -2509,7 +2512,7 @@ SettingValueResponse getSettingValue(bool inCommands, const char *settingName, c
2509
2512
}
2510
2513
break ;
2511
2514
2512
- case tCmnCnst:
2515
+ case tCmnCnst:
2513
2516
break ; // Nothing to do here. Let each GNSS add its settings
2514
2517
case tCmnRtNm:
2515
2518
break ; // Nothing to do here. Let each GNSS add its settings
0 commit comments