Skip to content

Commit 1a1221d

Browse files
committed
Whitespace
1 parent 93ac4da commit 1a1221d

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed

Firmware/RTK_Everywhere/menuCommands.ino

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
757757
#ifdef COMPILE_LG290P
758758
for (int x = 0; x < MAX_LG290P_CONSTELLATIONS; x++)
759759
{
760-
if ((suffix[0] == lg290pConstellationNames[x][0]) &&
761-
(strcmp(suffix, lg290pConstellationNames[x]) == 0))
760+
if ((suffix[0] == lg290pConstellationNames[x][0]) && (strcmp(suffix, lg290pConstellationNames[x]) == 0))
762761
{
763762
settings.lg290pConstellations[x] = settingValue;
764763
knownSetting = true;
@@ -768,7 +767,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
768767
#endif // COMPILE_LG290P
769768
}
770769
break;
771-
770+
772771
case tCmnRtNm: {
773772
#ifdef COMPILE_UM980
774773
for (int x = 0; x < MAX_UM980_NMEA_MSG; x++)
@@ -793,7 +792,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
793792
break;
794793
}
795794
}
796-
#endif
795+
#endif // COMPILE_LG290P
797796
}
798797
break;
799798
case tCnRtRtB: {
@@ -820,7 +819,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
820819
break;
821820
}
822821
}
823-
#endif
822+
#endif // COMPILE_LG290P
824823
}
825824
break;
826825
case tCnRtRtR: {
@@ -847,7 +846,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
847846
break;
848847
}
849848
}
850-
#endif
849+
#endif // COMPILE_LG290P
851850
}
852851
break;
853852

@@ -1615,15 +1614,15 @@ void createSettingsString(char *newSettings)
16151614
break;
16161615

16171616
case tCmnCnst:
1618-
break; // Nothing to do here. Let each GNSS add its settings
1617+
break; // Nothing to do here. Let each GNSS add its settings
16191618
case tCmnRtNm:
1620-
break; // Nothing to do here. Let each GNSS add its settings
1619+
break; // Nothing to do here. Let each GNSS add its settings
16211620
case tCnRtRtB:
1622-
break; // Nothing to do here. Let each GNSS add its settings
1621+
break; // Nothing to do here. Let each GNSS add its settings
16231622
case tCnRtRtR:
1624-
break; // Nothing to do here. Let each GNSS add its settings
1623+
break; // Nothing to do here. Let each GNSS add its settings
16251624

1626-
#ifdef COMPILE_ZED
1625+
#ifdef COMPILE_ZED
16271626
case tUbxConst: {
16281627
// Record constellation settings
16291628
for (int x = 0; x < rtkSettingsEntries[i].qualifier; x++)
@@ -2485,13 +2484,13 @@ SettingValueResponse getSettingValue(bool inCommands, const char *settingName, c
24852484
break;
24862485

24872486
case tCmnCnst:
2488-
break; // Nothing to do here. Let each GNSS add its settings
2487+
break; // Nothing to do here. Let each GNSS add its settings
24892488
case tCmnRtNm:
2490-
break; // Nothing to do here. Let each GNSS add its settings
2489+
break; // Nothing to do here. Let each GNSS add its settings
24912490
case tCnRtRtB:
2492-
break; // Nothing to do here. Let each GNSS add its settings
2491+
break; // Nothing to do here. Let each GNSS add its settings
24932492
case tCnRtRtR:
2494-
break; // Nothing to do here. Let each GNSS add its settings
2493+
break; // Nothing to do here. Let each GNSS add its settings
24952494

24962495
#ifdef COMPILE_ZED
24972496
case tUbxConst: {
@@ -3076,13 +3075,13 @@ void commandList(bool inCommands, int i)
30763075
break;
30773076

30783077
case tCmnCnst:
3079-
break; // Nothing to do here. Let each GNSS add its commands
3078+
break; // Nothing to do here. Let each GNSS add its commands
30803079
case tCmnRtNm:
3081-
break; // Nothing to do here. Let each GNSS add its commands
3080+
break; // Nothing to do here. Let each GNSS add its commands
30823081
case tCnRtRtB:
3083-
break; // Nothing to do here. Let each GNSS add its commands
3082+
break; // Nothing to do here. Let each GNSS add its commands
30843083
case tCnRtRtR:
3085-
break; // Nothing to do here. Let each GNSS add its commands
3084+
break; // Nothing to do here. Let each GNSS add its commands
30863085

30873086
#ifdef COMPILE_ZED
30883087
case tUbxConst: {
@@ -3611,7 +3610,6 @@ bool commandIndexFill(bool usePossibleSettings)
36113610
for (i = 1; i < COMMAND_COUNT; i++)
36123611
commandIndex[commandCount++] = -i;
36133612

3614-
36153613
// Find "endOfPrioritySettings"
36163614
int prioritySettingsEnd = 0;
36173615
for (i = 0; i < numRtkSettingsEntries; i++)
@@ -3627,7 +3625,7 @@ bool commandIndexFill(bool usePossibleSettings)
36273625
// If "endOfPrioritySettings" is not found, prioritySettingsEnd will be zero
36283626
// and all settings will be sorted. Just like the good old days...
36293627

3630-
// Sort the commands - starting at
3628+
// Sort the commands - starting at
36313629
for (i = prioritySettingsEnd; i < commandCount - 1; i++)
36323630
{
36333631
iCommandName = commandGetName(0, commandIndex[i]);

0 commit comments

Comments
 (0)