1
0
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:
Rhys Weatherley 2012-05-23 13:23:42 +10:00
parent a872972c9d
commit ad3f892430

View File

@ -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.