|
@ -610,12 +610,13 @@ void idle( |
|
|
* After this the machine will need to be reset. |
|
|
* After this the machine will need to be reset. |
|
|
*/ |
|
|
*/ |
|
|
void kill(PGM_P const lcd_msg/*=NULL*/) { |
|
|
void kill(PGM_P const lcd_msg/*=NULL*/) { |
|
|
SERIAL_ERROR_START(); |
|
|
|
|
|
SERIAL_ERRORLNPGM(MSG_ERR_KILLED); |
|
|
|
|
|
|
|
|
|
|
|
thermalManager.disable_all_heaters(); |
|
|
thermalManager.disable_all_heaters(); |
|
|
disable_all_steppers(); |
|
|
disable_all_steppers(); |
|
|
|
|
|
|
|
|
|
|
|
SERIAL_ERROR_START(); |
|
|
|
|
|
SERIAL_ERRORLNPGM(MSG_ERR_KILLED); |
|
|
|
|
|
|
|
|
#if ENABLED(EXTENSIBLE_UI) |
|
|
#if ENABLED(EXTENSIBLE_UI) |
|
|
UI::onPrinterKilled(lcd_msg ? lcd_msg : PSTR(MSG_KILLED)); |
|
|
UI::onPrinterKilled(lcd_msg ? lcd_msg : PSTR(MSG_KILLED)); |
|
|
#elif ENABLED(ULTRA_LCD) |
|
|
#elif ENABLED(ULTRA_LCD) |
|
|