🎨 Apply F() to kill / sendinfoscreen
This commit is contained in:
@ -159,9 +159,9 @@ void DGUSScreenHandler::Loop() {
|
||||
dgus_display.Loop();
|
||||
}
|
||||
|
||||
void DGUSScreenHandler::PrinterKilled(PGM_P error, PGM_P component) {
|
||||
SetMessageLinePGM(error, 1);
|
||||
SetMessageLinePGM(component, 2);
|
||||
void DGUSScreenHandler::PrinterKilled(FSTR_P const error, FSTR_P const component) {
|
||||
SetMessageLinePGM(FTOP(error), 1);
|
||||
SetMessageLinePGM(FTOP(component), 2);
|
||||
SetMessageLinePGM(NUL_STR, 3);
|
||||
SetMessageLinePGM(GET_TEXT(MSG_PLEASE_RESET), 4);
|
||||
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
static void Ready();
|
||||
static void Loop();
|
||||
|
||||
static void PrinterKilled(PGM_P error, PGM_P component);
|
||||
static void PrinterKilled(FSTR_P const error, FSTR_P const component);
|
||||
static void UserConfirmRequired(const char * const msg);
|
||||
static void SettingsReset();
|
||||
static void StoreSettings(char *buff);
|
||||
|
@ -46,7 +46,7 @@ namespace ExtUI {
|
||||
}
|
||||
}
|
||||
|
||||
void onPrinterKilled(PGM_P error, PGM_P component) {
|
||||
void onPrinterKilled(FSTR_P const error, FSTR_P const component) {
|
||||
dgus_screen_handler.PrinterKilled(error, component);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user