Use new kill() with parameter.

This commit is contained in:
AnHardt 2015-05-20 21:18:52 +02:00
parent 6398c5e28d
commit 9d13942278

View file

@ -452,12 +452,9 @@ inline void _temp_error(int e, const char *serial_msg, const char *lcd_msg) {
serialprintPGM(serial_msg); serialprintPGM(serial_msg);
SERIAL_ERRORPGM(MSG_STOPPED_HEATER); SERIAL_ERRORPGM(MSG_STOPPED_HEATER);
if (e >= 0) SERIAL_ERRORLN((int)e); else SERIAL_ERRORLNPGM(MSG_HEATER_BED); if (e >= 0) SERIAL_ERRORLN((int)e); else SERIAL_ERRORLNPGM(MSG_HEATER_BED);
#ifdef ULTRA_LCD
lcd_setalertstatuspgm(lcd_msg);
#endif
} }
#ifndef BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE #ifndef BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
kill_(); kill(lcd_msg);
#endif #endif
} }