Skip to content

Commit 449f266

Browse files
committed
Don't switch ROVER to BASE by changing base parameter in Serial Config
1 parent d9591db commit 449f266

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Firmware/RTK_Surveyor/menuMain.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ void menuMain()
9494
if (online.gnss == true)
9595
i2cGNSS.saveConfiguration(); //Save the current settings to flash and BBR on the ZED-F9P
9696

97-
if (restartBase == true)
97+
//Reboot as base only if currently operating as a base station
98+
if (restartBase && (systemState >= STATE_BASE_NOT_STARTED) && (systemState < STATE_BUBBLE_LEVEL))
9899
{
99100
restartBase = false;
100101
requestChangeState(STATE_BASE_NOT_STARTED); //Restart base upon exit for latest changes to take effect

0 commit comments

Comments
 (0)