Browse Source

Use new kill() with parameter.

pull/1/head
AnHardt 10 years ago
parent
commit
9d13942278
  1. 5
      Marlin/temperature.cpp

5
Marlin/temperature.cpp

@ -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
} }

Loading…
Cancel
Save