Skip to content

Commit 0296a8b

Browse files
committed
enableExtCorrRadio needs to be _uint8_t so it can carry 254 correctly
1 parent 16c6136 commit 0296a8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Firmware/RTK_Everywhere/settings.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
13181318
{ 1, 1, 0, 1, 1, 1, 1, 1, 1, ALL, _int, 0, & settings.correctionsSourcesLifetime_s, "correctionsSourcesLifetime", },
13191319
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, ALL, tCorrSPri, CORR_NUM, & settings.correctionsSourcesPriority, "correctionsPriority_", },
13201320
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, _bool, 0, & settings.debugCorrections, "debugCorrections", },
1321-
{ 1, 1, 0, 1, 1, 1, 0, 1, 1, ALL, _bool, 0, & settings.enableExtCorrRadio, "enableExtCorrRadio", },
1321+
{ 1, 1, 0, 1, 1, 1, 0, 1, 1, ALL, _uint8_t, 0, & settings.enableExtCorrRadio, "enableExtCorrRadio", }, // uint8_t needed for 254
13221322
{ 1, 1, 0, 1, 1, 0, 0, 1, 0, NON, _uint8_t, 0, & settings.extCorrRadioSPARTNSource, "extCorrRadioSPARTNSource", },
13231323

13241324
// F
@@ -1588,7 +1588,7 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
15881588
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, _int, 0, & settings.gnssHandlerBufferSize, "gnssHandlerBufferSize", },
15891589

15901590
// Rover operation
1591-
{ 1, 1, 0, 1, 1, 1, 1, 1, 1, ALL, _uint8_t, 0, & settings.dynamicModel, "dynamicModel", },
1591+
{ 1, 1, 0, 1, 1, 1, 1, 1, 0, ALL, _uint8_t, 0, & settings.dynamicModel, "dynamicModel", },
15921592
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, _bool, 0, & settings.enablePrintRoverAccuracy, "enablePrintRoverAccuracy", },
15931593
{ 1, 1, 0, 1, 1, 1, 1, 1, 1, ALL, _int16_t, 0, & settings.minCNO, "minCNO", },
15941594
{ 1, 1, 0, 1, 1, 1, 1, 1, 1, ALL, _uint8_t, 0, & settings.minElev, "minElev", },

0 commit comments

Comments
 (0)