Include order, spacing, etc.
This commit is contained in:
@ -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(); }
|
||||
|
@ -99,7 +99,7 @@ void MarlinUI::goto_previous_screen() {
|
||||
/////////// Common Menu Actions ////////////
|
||||
////////////////////////////////////////////
|
||||
|
||||
void MenuItem_gcode::action(PGM_P pgcode) { queue.inject_P(pgcode); }
|
||||
void MenuItem_gcode::action(PGM_P const pgcode) { queue.inject_P(pgcode); }
|
||||
|
||||
////////////////////////////////////////////
|
||||
/////////// Menu Editing Actions ///////////
|
||||
|
@ -512,7 +512,7 @@ FORCE_INLINE screenFunc_t ap_message_screen(const PauseMessage message) {
|
||||
case PAUSE_MESSAGE_HEAT: return lcd_pause_heat_message;
|
||||
case PAUSE_MESSAGE_HEATING: return lcd_pause_heating_message;
|
||||
case PAUSE_MESSAGE_OPTION: pause_menu_response = PAUSE_RESPONSE_WAIT_FOR;
|
||||
return menu_pause_option;
|
||||
return menu_pause_option;
|
||||
case PAUSE_MESSAGE_STATUS:
|
||||
default: break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user