Skip to content

Commit 68276cf

Browse files
committed
Ensure settings are recorded before commandIndex is shrunk
1 parent a49553d commit 68276cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Firmware/RTK_Everywhere/RTK_Everywhere.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,6 +1310,7 @@ void setup()
13101310
gnssDetectReceiverType(); // If we don't know the receiver from the platform, auto-detect it. Uses settings.
13111311

13121312
DMW_b("commandIndexFillActual");
1313+
recordSystemSettings(); // Ensure the possible settings are saved - before we call commandIndexFillActual
13131314
commandIndexFillActual(); // Shrink the commandIndex table now we're certain what GNSS we have
13141315
loadSettings(); // Reload the settings after shrinking commandIndex
13151316
recordSystemSettings(); // Save the reduced settings now we're certain what GNSS we have

0 commit comments

Comments
 (0)