Skip to content

Commit 0284eda

Browse files
committed
Move detectedTilt and testedTilt. They don't need to be priority settings
1 parent 8b8d334 commit 0284eda

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Firmware/RTK_Everywhere/settings.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -658,8 +658,6 @@ struct Settings
658658
//Once we detect the platform or receiver, no need to re-detect
659659
//ProductVariant previouslyDetectedPlatform = RTK_UNKNOWN; //Because LFS is started after deviceID, this is mute
660660
gnssReceiverType_e detectedGnssReceiver = GNSS_RECEIVER_UNKNOWN;
661-
bool detectedTilt = false;
662-
bool testedTilt = false;
663661

664662
// Antenna
665663
int16_t antennaHeight_mm = 1800; // Aka Pole length
@@ -750,6 +748,10 @@ struct Settings
750748
bool debugHttpClientData = false; // Debug the HTTP Client (ZTP) data flow
751749
bool debugHttpClientState = false; // Debug the HTTP Client state machine
752750

751+
// IMU
752+
bool detectedTilt = false;
753+
bool testedTilt = false;
754+
753755
// Log file
754756
bool alignedLogFiles = false; // If true, align log files as per #630
755757
bool enableLogging = true; // If an SD card is present, log default sentences
@@ -1239,8 +1241,6 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
12391241

12401242
// Detected GNSS Receiver - for Flex. Save / load first so settingAvailableOnPlatform is correct on Flex
12411243
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, ALL, tGnssReceiver, 0, & settings.detectedGnssReceiver, "detectedGnssReceiver", },
1242-
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, ALL, _bool, 0, & settings.detectedTilt, "detectedTilt", },
1243-
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, ALL, _bool, 0, & settings.testedTilt, "testedTilt", },
12441244

12451245
// Common settings which use the same name on multiple Facet Flex platforms
12461246
// We need these - for Facet Flex - because:
@@ -1396,6 +1396,10 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
13961396
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, _bool, 0, & settings.debugHttpClientData, "debugHttpClientData", },
13971397
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, ALL, _bool, 0, & settings.debugHttpClientState, "debugHttpClientState", },
13981398

1399+
// IMU
1400+
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, ALL, _bool, 0, & settings.detectedTilt, "detectedTilt", },
1401+
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, ALL, _bool, 0, & settings.testedTilt, "testedTilt", },
1402+
13991403
// F
14001404
// a
14011405
// F c

0 commit comments

Comments
 (0)