Skip to content

Commit 2d56fc4

Browse files
committed
menuSystem: Add option 10 to operations menu to force tilt detection
Enable the user to re-run tilt detection in case the GNSS board was swapped for one with the same GNSS device but now includes tilt support.
1 parent 4f0d371 commit 2d56fc4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Firmware/RTK_Everywhere/menuSystem.ino

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,9 @@ void menuOperation()
12331233
systemPrint("9) UART Receive Buffer Size: ");
12341234
systemPrintln(settings.uartReceiveBufferSize);
12351235

1236+
// Tilt
1237+
systemPrintf("10) Force Tilt detect\r\n");
1238+
12361239
// PPL Float Lock timeout
12371240
systemPrint("11) Set PPL RTK Fix Timeout (seconds): ");
12381241
if (settings.pplFixTimeoutS > 0)
@@ -1327,6 +1330,11 @@ void menuOperation()
13271330
ESP.restart();
13281331
}
13291332
}
1333+
1334+
// Allow the user to force tilt detection in case they switched the GNSS
1335+
// board in the Facet FP to one with the same GNSS but now has the tilt sensor
1336+
else if (incoming == 10)
1337+
tiltForceDetectionReboot();
13301338
else if (incoming == 11)
13311339
{
13321340
getNewSetting("Enter number of seconds in RTK float using PPL, before reset", 0, 3600,

0 commit comments

Comments
 (0)