Skip to content

Commit ea30ee3

Browse files
committed
Whitespace
1 parent 9e13fd6 commit ea30ee3

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

Firmware/RTK_Everywhere/menuCommands.ino

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -494,26 +494,28 @@ void commandSplitName(const char *settingName, char *truncatedName, int truncate
494494
}
495495

496496
// 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)
499499
{
500-
return commandLookupSettingNameSelective(inCommands, settingName, truncatedName, truncatedNameLen, suffix, suffixLen, true);
500+
return commandLookupSettingNameSelective(inCommands, settingName, truncatedName, truncatedNameLen, suffix,
501+
suffixLen, true);
501502
}
502503
int commandLookupSettingName(bool inCommands, const char *settingName, char *truncatedName, int truncatedNameLen,
503504
char *suffix, int suffixLen)
504505
{
505-
return commandLookupSettingNameSelective(inCommands, settingName, truncatedName, truncatedNameLen, suffix, suffixLen, false);
506+
return commandLookupSettingNameSelective(inCommands, settingName, truncatedName, truncatedNameLen, suffix,
507+
suffixLen, false);
506508
}
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)
509511
{
510512
const char *command;
511513

512514
int prioritySettingsEnd = 0;
513515
if (usePrioritySettingsEnd)
514516
// Find "endOfPrioritySettings"
515517
prioritySettingsEnd = findEndOfPrioritySettings();
516-
// If "endOfPrioritySettings" is not found, prioritySettingsEnd will be zero
518+
// If "endOfPrioritySettings" is not found, prioritySettingsEnd will be zero
517519

518520
// Remove one because while rtkSettingsEntries[] contains detectedGnssReceiver, the command table does not
519521
prioritySettingsEnd--;
@@ -2385,7 +2387,8 @@ SettingValueResponse getSettingValue(bool inCommands, const char *settingName, c
23852387
// Generally char arrays but some others.
23862388

23872389
// 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));
23892392

23902393
// Determine if settingName is in the command table
23912394
if (i >= 0)
@@ -2509,7 +2512,7 @@ SettingValueResponse getSettingValue(bool inCommands, const char *settingName, c
25092512
}
25102513
break;
25112514

2512-
case tCmnCnst:
2515+
case tCmnCnst:
25132516
break; // Nothing to do here. Let each GNSS add its settings
25142517
case tCmnRtNm:
25152518
break; // Nothing to do here. Let each GNSS add its settings

0 commit comments

Comments
 (0)