Skip to content

Commit 9e13fd6

Browse files
committed
Fix "Unknown setting: antennaHeight_mm" due to overshoot
1 parent cc7da56 commit 9e13fd6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Firmware/RTK_Everywhere/menuCommands.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,9 @@ int commandLookupSettingNameSelective(bool inCommands, const char *settingName,
515515
prioritySettingsEnd = findEndOfPrioritySettings();
516516
// If "endOfPrioritySettings" is not found, prioritySettingsEnd will be zero
517517

518+
// Remove one because while rtkSettingsEntries[] contains detectedGnssReceiver, the command table does not
519+
prioritySettingsEnd--;
520+
518521
// Loop through the valid command entries - starting at prioritySettingsEnd
519522
for (int i = prioritySettingsEnd; i < commandCount; i++)
520523
{

0 commit comments

Comments
 (0)