🎨 Apply F() to kill / sendinfoscreen
This commit is contained in:
@ -41,8 +41,8 @@ namespace ExtUI {
|
||||
|
||||
void onIdle() { Chiron.IdleLoop(); }
|
||||
|
||||
void onPrinterKilled(PGM_P const error, PGM_P const component) {
|
||||
Chiron.PrinterKilled(error,component);
|
||||
void onPrinterKilled(FSTR_P const error, FSTR_P const component) {
|
||||
Chiron.PrinterKilled(error, component);
|
||||
}
|
||||
|
||||
void onMediaInserted() { Chiron.MediaEvent(AC_media_inserted); }
|
||||
|
@ -126,7 +126,7 @@ void ChironTFT::IdleLoop() {
|
||||
CheckHeaters();
|
||||
}
|
||||
|
||||
void ChironTFT::PrinterKilled(PGM_P error,PGM_P component) {
|
||||
void ChironTFT::PrinterKilled(FSTR_P const error, FSTR_P const component) {
|
||||
SendtoTFTLN(AC_msg_kill_lcd);
|
||||
#if ACDEBUG(AC_MARLIN)
|
||||
SERIAL_ECHOLNPGM("PrinterKilled()\nerror: ", error , "\ncomponent: ", component);
|
||||
|
@ -59,7 +59,7 @@ class ChironTFT {
|
||||
public:
|
||||
static void Startup();
|
||||
static void IdleLoop();
|
||||
static void PrinterKilled(PGM_P, PGM_P);
|
||||
static void PrinterKilled(FSTR_P, FSTR_P);
|
||||
static void MediaEvent(media_event_t);
|
||||
static void TimerEvent(timer_event_t);
|
||||
static void FilamentRunout();
|
||||
|
Reference in New Issue
Block a user