We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef2991d commit d7eefd8Copy full SHA for d7eefd8
Firmware/RTK_Everywhere/menuCommands.ino
@@ -3789,15 +3789,17 @@ int adjustEndOfPrioritySettings(int prioritySettingsEnd)
3789
if (prioritySettingsEnd == 0)
3790
return 0;
3791
3792
+ int adjustedPrioritySettingsEnd = prioritySettingsEnd;
3793
+
3794
// Check which of the priority settings are possible on this platform
3795
// Deduct the ones which are not
3796
for (int i = 0; i < prioritySettingsEnd; i++)
3797
{
3798
if (!settingPossibleOnPlatform(i))
- prioritySettingsEnd--;
3799
+ adjustedPrioritySettingsEnd--;
3800
}
3801
- return prioritySettingsEnd;
3802
+ return adjustedPrioritySettingsEnd;
3803
3804
3805
// Allocate and fill the commandIndex table
0 commit comments