mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
Pressing Select goes back to the front screen
This commit is contained in:
parent
a872972c9d
commit
ad3f892430
@ -179,6 +179,9 @@ void loop() {
|
||||
}
|
||||
prevHour = 24; // Force an update of the main screen.
|
||||
findNextAlarm(); // Update the time of the next alarm event.
|
||||
} else if (event == LCD_BUTTON_SELECT) {
|
||||
// Pressing select will quickly return to the front screen.
|
||||
mainForm.setCurrentField(&frontScreen);
|
||||
}
|
||||
|
||||
// If the alarm is playing and a button was pressed, then turn it off.
|
||||
|
Loading…
x
Reference in New Issue
Block a user