Skip to content

Commit 23ac1c4

Browse files
committed
Fix for issue #153
1 parent 5971483 commit 23ac1c4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Firmware/RTK_Surveyor/Begin.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,10 @@ void beginSystemState()
588588
factoryReset();
589589
}
590590

591-
firstRoverStart = true; //Allow user to enter test screen during first rover start
591+
if (systemState == STATE_ROVER_NOT_STARTED)
592+
firstRoverStart = true; //Allow user to enter test screen during first rover start
593+
else
594+
firstRoverStart = false;
592595

593596
powerBtn = new Button(pin_powerSenseAndControl); //Create the button in memory
594597
}

0 commit comments

Comments
 (0)