Bump timeout for menu actions (#1384)
This commit is contained in:
@@ -1021,7 +1021,7 @@ void gui_Menu(const menuitem *menu) {
|
|||||||
autoRepeatAcceleration = PRESS_ACCEL_INTERVAL_MAX - PRESS_ACCEL_INTERVAL_MIN;
|
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
|
// 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
|
// This will trickle the user back to the main screen eventually
|
||||||
earlyExit = true;
|
earlyExit = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user