@@ -757,8 +757,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
757
757
#ifdef COMPILE_LG290P
758
758
for (int x = 0 ; x < MAX_LG290P_CONSTELLATIONS; x++)
759
759
{
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 ))
762
761
{
763
762
settings.lg290pConstellations [x] = settingValue;
764
763
knownSetting = true ;
@@ -768,7 +767,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
768
767
#endif // COMPILE_LG290P
769
768
}
770
769
break ;
771
-
770
+
772
771
case tCmnRtNm: {
773
772
#ifdef COMPILE_UM980
774
773
for (int x = 0 ; x < MAX_UM980_NMEA_MSG; x++)
@@ -793,7 +792,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
793
792
break ;
794
793
}
795
794
}
796
- #endif
795
+ #endif // COMPILE_LG290P
797
796
}
798
797
break ;
799
798
case tCnRtRtB: {
@@ -820,7 +819,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
820
819
break ;
821
820
}
822
821
}
823
- #endif
822
+ #endif // COMPILE_LG290P
824
823
}
825
824
break ;
826
825
case tCnRtRtR: {
@@ -847,7 +846,7 @@ SettingValueResponse updateSettingWithValue(bool inCommands, const char *setting
847
846
break ;
848
847
}
849
848
}
850
- #endif
849
+ #endif // COMPILE_LG290P
851
850
}
852
851
break ;
853
852
@@ -1615,15 +1614,15 @@ void createSettingsString(char *newSettings)
1615
1614
break ;
1616
1615
1617
1616
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
1619
1618
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
1621
1620
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
1623
1622
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
1625
1624
1626
- #ifdef COMPILE_ZED
1625
+ #ifdef COMPILE_ZED
1627
1626
case tUbxConst: {
1628
1627
// Record constellation settings
1629
1628
for (int x = 0 ; x < rtkSettingsEntries[i].qualifier ; x++)
@@ -2485,13 +2484,13 @@ SettingValueResponse getSettingValue(bool inCommands, const char *settingName, c
2485
2484
break ;
2486
2485
2487
2486
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
2489
2488
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
2491
2490
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
2493
2492
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
2495
2494
2496
2495
#ifdef COMPILE_ZED
2497
2496
case tUbxConst: {
@@ -3076,13 +3075,13 @@ void commandList(bool inCommands, int i)
3076
3075
break ;
3077
3076
3078
3077
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
3080
3079
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
3082
3081
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
3084
3083
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
3086
3085
3087
3086
#ifdef COMPILE_ZED
3088
3087
case tUbxConst: {
@@ -3611,7 +3610,6 @@ bool commandIndexFill(bool usePossibleSettings)
3611
3610
for (i = 1 ; i < COMMAND_COUNT; i++)
3612
3611
commandIndex[commandCount++] = -i;
3613
3612
3614
-
3615
3613
// Find "endOfPrioritySettings"
3616
3614
int prioritySettingsEnd = 0 ;
3617
3615
for (i = 0 ; i < numRtkSettingsEntries; i++)
@@ -3627,7 +3625,7 @@ bool commandIndexFill(bool usePossibleSettings)
3627
3625
// If "endOfPrioritySettings" is not found, prioritySettingsEnd will be zero
3628
3626
// and all settings will be sorted. Just like the good old days...
3629
3627
3630
- // Sort the commands - starting at
3628
+ // Sort the commands - starting at
3631
3629
for (i = prioritySettingsEnd; i < commandCount - 1 ; i++)
3632
3630
{
3633
3631
iCommandName = commandGetName (0 , commandIndex[i]);
0 commit comments