@@ -653,6 +653,12 @@ struct Settings
653
653
int sizeOfSettings = 0 ; // sizeOfSettings **must** be the first entry and must be int
654
654
int rtkIdentifier = RTK_IDENTIFIER; // rtkIdentifier **must** be the second entry
655
655
656
+ // Once we detect the platform or receiver, no need to re-detect
657
+ // ProductVariant previouslyDetectedPlatform = RTK_UNKNOWN; //Because LFS is started after deviceID, this is mute
658
+ gnssReceiverType_e detectedGnssReceiver = GNSS_RECEIVER_UNKNOWN;
659
+ bool detectedTilt = false ;
660
+ bool testedTilt = false ;
661
+
656
662
// Antenna
657
663
int16_t antennaHeight_mm = 1800 ; // Aka Pole length
658
664
float antennaPhaseCenter_mm = 0.0 ; // Aka ARP
@@ -1082,12 +1088,6 @@ struct Settings
1082
1088
1083
1089
bool debugMalloc = false ;
1084
1090
1085
- // Once we detect the platform or receiver, no need to re-detect
1086
- // ProductVariant previouslyDetectedPlatform = RTK_UNKNOWN; //Because LFS is started after deviceID, this is mute
1087
- gnssReceiverType_e detectedGnssReceiver = GNSS_RECEIVER_UNKNOWN;
1088
- bool detectedTilt = false ;
1089
- bool testedTilt = false ;
1090
-
1091
1091
// Add new settings to appropriate group above or create new group
1092
1092
// Then also add to the same group in rtkSettingsEntries below
1093
1093
} settings;
@@ -1227,6 +1227,11 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
1227
1227
// i d i v V i c n r e
1228
1228
// g s x k 2 c h d d x Type Qual Variable Name
1229
1229
1230
+ // Detected GNSS Receiver (for Flex). Save / load first so Flex settting availability can be correctly validated
1231
+ { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , FFA, tGnssReceiver, 0 , & settings.detectedGnssReceiver , " detectedGnssReceiver" , },
1232
+ { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , FFA, _bool, 0 , & settings.detectedTilt , " detectedTilt" , },
1233
+ { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , FFA, _bool, 0 , & settings.testedTilt , " testedTilt" , },
1234
+
1230
1235
// Antenna
1231
1236
{ 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , FFA, _int16_t , 0 , & settings.antennaHeight_mm , " antennaHeight_mm" , },
1232
1237
{ 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , FFA, _float, 2 , & settings.antennaPhaseCenter_mm , " antennaPhaseCenter_mm" },
@@ -1719,10 +1724,6 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
1719
1724
{ 0 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , FFA, _bool, 0 , & settings.baseCasterOverride , " baseCasterOverride" , },
1720
1725
1721
1726
1722
- { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , FFA, tGnssReceiver, 0 , & settings.detectedGnssReceiver , " detectedGnssReceiver" , },
1723
- { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , FFA, _bool, 0 , & settings.detectedTilt , " detectedTilt" , },
1724
- { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , FFA, _bool, 0 , & settings.testedTilt , " testedTilt" , },
1725
-
1726
1727
// Add new settings to appropriate group above or create new group
1727
1728
// Then also add to the same group in settings above
1728
1729
// F
0 commit comments