Skip to content

Commit

Permalink
Bump timeout for menu actions (#1384)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralim authored Aug 24, 2022
1 parent b5323d9 commit 1245bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Core/Src/settingsGUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ void gui_Menu(const menuitem *menu) {
autoRepeatAcceleration = PRESS_ACCEL_INTERVAL_MAX - PRESS_ACCEL_INTERVAL_MIN;
}

if ((xTaskGetTickCount() - lastButtonTime) > (TICKS_SECOND * 30)) {
if ((xTaskGetTickCount() - lastButtonTime) > (TICKS_SECOND * 2 * 60)) {
// If user has not pressed any buttons in 30 seconds, exit back a menu layer
// This will trickle the user back to the main screen eventually
earlyExit = true;
Expand Down

0 comments on commit 1245bab

Please sign in to comment.