Skip to content

Commit 46b5216

Browse files
committed
Additional fixes for #153. Allow for both Facet and Facet L-Band.
1 parent 23ac1c4 commit 46b5216

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Firmware/RTK_Surveyor/Begin.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -588,9 +588,8 @@ void beginSystemState()
588588
factoryReset();
589589
}
590590

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

596595
powerBtn = new Button(pin_powerSenseAndControl); //Create the button in memory

Firmware/RTK_Surveyor/States.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,11 +471,10 @@ void updateSystemState()
471471

472472
case (STATE_BASE_NOT_STARTED):
473473
{
474+
firstRoverStart = false; //If base is starting, no test menu, normal button use.
475+
474476
if (online.gnss == false)
475-
{
476-
firstRoverStart = false; //If GNSS is offline, we still need to allow button use
477477
return;
478-
}
479478

480479
//Turn off base LED until we successfully enter temp/fix state
481480
if (productVariant == RTK_SURVEYOR)

0 commit comments

Comments
 (0)