Skip to content

Commit a369dc3

Browse files
committed
Prevent duplicate lastState in settings string
1 parent 0c3f614 commit a369dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Everywhere/settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,7 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
16491649
// State
16501650
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, _bool, 0, & settings.enablePrintDuplicateStates, "enablePrintDuplicateStates", },
16511651
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, _bool, 0, & settings.enablePrintStates, "enablePrintStates", },
1652-
{ 1, 1, 0, 1, 1, 1, 1, 1, 1, ALL, tSysState, 0, & settings.lastState, "lastState", },
1652+
{ 0, 1, 0, 1, 1, 1, 1, 1, 1, ALL, tSysState, 0, & settings.lastState, "lastState", }, // Not inWebConfig - must be changed to 0:3 by createSettingsString
16531653

16541654
// TCP Client
16551655
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, _bool, 0, & settings.debugTcpClient, "debugTcpClient", },

0 commit comments

Comments
 (0)