Browse Source

Use new kill() with parameter.

AnHardt 10 years ago
parent
commit
9d13942278
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      Marlin/temperature.cpp

+ 1
- 4
Marlin/temperature.cpp View File

@@ -452,12 +452,9 @@ inline void _temp_error(int e, const char *serial_msg, const char *lcd_msg) {
452 452
     serialprintPGM(serial_msg);
453 453
     SERIAL_ERRORPGM(MSG_STOPPED_HEATER);
454 454
     if (e >= 0) SERIAL_ERRORLN((int)e); else SERIAL_ERRORLNPGM(MSG_HEATER_BED);
455
-    #ifdef ULTRA_LCD
456
-      lcd_setalertstatuspgm(lcd_msg);
457
-    #endif
458 455
   }
459 456
   #ifndef BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
460
-    kill_();
457
+    kill(lcd_msg);
461 458
   #endif
462 459
 }
463 460
 

Loading…
Cancel
Save