Skip to content

Commit 680f411

Browse files
committed
Clear btPrintEchoExit on entering the menu - prevents drop-through if BT was closed while the menu was closed
1 parent 8e27a13 commit 680f411

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Firmware/RTK_Everywhere/menuMain.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ void menuMain()
111111
forwardGnssDataToUsbSerial = false;
112112

113113
inMainMenu = true;
114+
115+
// Clear btPrintEchoExit on entering the menu, to prevent dropping straight
116+
// through if the BT connection was dropped while we had the menu closed
117+
btPrintEchoExit = false;
118+
114119
displaySerialConfig(); // Display 'Serial Config' while user is configuring
115120

116121
if (settings.debugGnss == true)

0 commit comments

Comments
 (0)