Skip to content

Commit 3350fa8

Browse files
committed
Prevent duplicate minCNO in settings string
1 parent 1a4104e commit 3350fa8

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
@@ -926,7 +926,7 @@ struct Settings
926926
// Rover operation
927927
uint8_t dynamicModel = 254; // Default will be applied by checkGNSSArrayDefaults
928928
bool enablePrintRoverAccuracy = true;
929-
int16_t minCNO = 6; // Minimum satellite signal level for navigation. ZED-F9P default is 6 dBHz
929+
int16_t minCNO = 6; // Minimum satellite signal level for navigation. ZED-F9P default is 6 dBHz
930930
uint8_t minElev = 10; // Minimum elevation (in deg) for a GNSS satellite to be used in NAV
931931

932932
// RTC (Real Time Clock)
@@ -1593,7 +1593,7 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
15931593
// Rover operation
15941594
{ 1, 1, 0, 1, 1, 1, 1, 1, 0, ALL, _uint8_t, 0, & settings.dynamicModel, "dynamicModel", },
15951595
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, _bool, 0, & settings.enablePrintRoverAccuracy, "enablePrintRoverAccuracy", },
1596-
{ 1, 1, 0, 1, 1, 1, 1, 1, 1, ALL, _int16_t, 0, & settings.minCNO, "minCNO", },
1596+
{ 0, 1, 0, 1, 1, 1, 1, 1, 1, ALL, _int16_t, 0, & settings.minCNO, "minCNO", }, // Not inWebConfig - createSettingsString gets from GNSS
15971597
{ 1, 1, 0, 1, 1, 1, 1, 1, 1, ALL, _uint8_t, 0, & settings.minElev, "minElev", },
15981598

15991599
// RTC (Real Time Clock)

0 commit comments

Comments
 (0)