Include order, spacing, etc.

This commit is contained in:
Scott Lahteine
2019-06-23 03:43:36 -05:00
parent 1b1a4677f5
commit 3d9d72e8db
11 changed files with 20 additions and 16 deletions

View File

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