🎨 Apply F() to kill / sendinfoscreen
This commit is contained in:
@ -1852,7 +1852,7 @@ void DWIN_LoadSettings(const char *buff) {
|
||||
feedrate_percentage = 100;
|
||||
}
|
||||
|
||||
void MarlinUI::kill_screen(PGM_P lcd_error, PGM_P lcd_component) {
|
||||
void MarlinUI::kill_screen(FSTR_P const lcd_error, FSTR_P const lcd_component) {
|
||||
DWIN_Draw_Popup(ICON_BLTouch, lcd_error, lcd_component);
|
||||
DWIN_UpdateLCD();
|
||||
}
|
||||
|
@ -949,7 +949,7 @@ void CrealityDWINClass::Draw_Popup(FSTR_P const line1, FSTR_P const line2, FSTR_
|
||||
}
|
||||
}
|
||||
|
||||
void MarlinUI::kill_screen(PGM_P const error, PGM_P const component) {
|
||||
void MarlinUI::kill_screen(FSTR_P const error, FSTR_P const) {
|
||||
CrealityDWIN.Draw_Popup(F("Printer Kill Reason:"), error, F("Restart Required"), Wait, ICON_BLTouch);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user