Make sure screen displays Power Off message

pull/6/head
Max-Plastix 2021-12-21 12:27:23 -08:00
rodzic 75a602184a
commit d9fa448851
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -624,7 +624,8 @@ void loop() {
if (axp.isPEKLongtPressIRQ()) // They want to turn OFF
{
screen_print("\nPOWER OFF...\n");
screen_print("POWER OFF...\n");
screen_update();
delay(4000); // Give some time to read the screen
clean_shutdown();
}