|
|
@ -41,13 +41,13 @@ namespace ExtUI {
|
|
|
|
ScreenHandler.UpdateScreenVPData();
|
|
|
|
ScreenHandler.UpdateScreenVPData();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void onIdle() { ScreenHandler.loop(); }
|
|
|
|
void onIdle() { ScreenHandler.loop(); }
|
|
|
|
|
|
|
|
|
|
|
|
void onPrinterKilled(const char* msg) {
|
|
|
|
void onPrinterKilled(const char* msg) {
|
|
|
|
ScreenHandler.sendinfoscreen(PSTR(MSG_HALTED), msg, PSTR(""), PSTR(MSG_PLEASE_RESET), true, true, true, true);
|
|
|
|
ScreenHandler.sendinfoscreen(PSTR(MSG_HALTED), msg, PSTR(""), PSTR(MSG_PLEASE_RESET), true, true, true, true);
|
|
|
|
ScreenHandler.GotoScreen(DGUSLCD_SCREEN_KILL);
|
|
|
|
ScreenHandler.GotoScreen(DGUSLCD_SCREEN_KILL);
|
|
|
|
while (!ScreenHandler.loop()); // Wait while anything is left to be sent
|
|
|
|
while (!ScreenHandler.loop()); // Wait while anything is left to be sent
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void onMediaInserted() { ScreenHandler.SDCardInserted(); }
|
|
|
|
void onMediaInserted() { ScreenHandler.SDCardInserted(); }
|
|
|
|
void onMediaError() { ScreenHandler.SDCardError(); }
|
|
|
|
void onMediaError() { ScreenHandler.SDCardError(); }
|
|
|
|