From 9d139422789a1e059a5188a9d8722a7c0df2a4db Mon Sep 17 00:00:00 2001 From: AnHardt Date: Wed, 20 May 2015 21:18:52 +0200 Subject: [PATCH] Use new kill() with parameter. --- Marlin/temperature.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index d361e008d6..4f2765fd55 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -452,12 +452,9 @@ inline void _temp_error(int e, const char *serial_msg, const char *lcd_msg) { serialprintPGM(serial_msg); SERIAL_ERRORPGM(MSG_STOPPED_HEATER); 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 - kill_(); + kill(lcd_msg); #endif }