Skip to content

Commit 6ae1f0e

Browse files
committed
Delete setupDoubleTapRequired - not required!
1 parent 061f952 commit 6ae1f0e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Firmware/RTK_Everywhere/RTK_Everywhere.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,6 @@ uint32_t maxSurveyInWait_s = 60L * 15L; // Re-start survey-in after X seconds
677677

678678
uint32_t lastSetupMenuChange; // Limits how much time is spent in the setup menu
679679
uint32_t lastTestMenuChange; // Avoids exiting the test menu for at least 1 second
680-
bool setupDoubleTapRequired = false; // In buttonCheckTask, require a double tap to proceed
681680
uint8_t setupSelectedButton = 0; // In Display Setup, start displaying at this button. This is the selected (highlighted) button.
682681
std::vector<setupButton> setupButtons; // A vector (linked list) of the setup 'butttons'
683682

Firmware/RTK_Everywhere/States.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,10 +407,9 @@ void stateUpdate()
407407
break;
408408

409409
case (STATE_DISPLAY_SETUP): {
410-
if (millis() - lastSetupMenuChange > 30000)
410+
if (millis() - lastSetupMenuChange > 30000) // Exit Setup after 30s
411411
{
412412
//forceSystemStateUpdate = true; // Immediately go to this new state
413-
setupDoubleTapRequired = false;
414413
changeState(lastSystemState); // Return to the last system state
415414
}
416415
}

0 commit comments

Comments
 (0)