🎨 Apply F() to kill / sendinfoscreen
This commit is contained in:
@@ -37,7 +37,7 @@ namespace ExtUI {
|
||||
|
||||
void onStartup() { AnycubicTFT.OnSetup(); }
|
||||
void onIdle() { AnycubicTFT.OnCommandScan(); }
|
||||
void onPrinterKilled(PGM_P const error, PGM_P const component) { AnycubicTFT.OnKillTFT(); }
|
||||
void onPrinterKilled(FSTR_P const error, FSTR_P const component) { AnycubicTFT.OnKillTFT(); }
|
||||
void onMediaInserted() { AnycubicTFT.OnSDCardStateChange(true); }
|
||||
void onMediaError() { AnycubicTFT.OnSDCardError(); }
|
||||
void onMediaRemoved() { AnycubicTFT.OnSDCardStateChange(false); }
|
||||
|
||||
@@ -654,7 +654,7 @@ void AnycubicTFTClass::GetCommandFromTFT() {
|
||||
break;
|
||||
|
||||
case 12: // A12 kill
|
||||
kill(PSTR(STR_ERR_KILLED));
|
||||
kill(F(STR_ERR_KILLED));
|
||||
break;
|
||||
|
||||
case 13: // A13 SELECTION FILE
|
||||
|
||||
Reference in New Issue
Block a user