AnHardt 9 years ago
parent
commit
28b1c37dea
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/temperature.cpp

+ 3
- 3
Marlin/temperature.cpp View File

@@ -535,17 +535,17 @@ inline void _temp_error(int e, const char *msg1, const char *msg2) {
535 535
 
536 536
 void max_temp_error(uint8_t e) {
537 537
   disable_heater();
538
-  _temp_error(e, MSG_MAXTEMP_EXTRUDER_OFF, MSG_ERR_MAXTEMP);
538
+  _temp_error(e, PSTR(MSG_MAXTEMP_EXTRUDER_OFF), PSTR(MSG_ERR_MAXTEMP));
539 539
 }
540 540
 void min_temp_error(uint8_t e) {
541 541
   disable_heater();
542
-  _temp_error(e, MSG_MINTEMP_EXTRUDER_OFF, MSG_ERR_MINTEMP);
542
+  _temp_error(e, PSTR(MSG_MINTEMP_EXTRUDER_OFF), PSTR(MSG_ERR_MINTEMP));
543 543
 }
544 544
 void bed_max_temp_error(void) {
545 545
   #if HAS_HEATER_BED
546 546
     WRITE_HEATER_BED(0);
547 547
   #endif
548
-  _temp_error(-1, MSG_MAXTEMP_BED_OFF, MSG_ERR_MAXTEMP_BED);
548
+  _temp_error(-1, PSTR(MSG_MAXTEMP_BED_OFF), PSTR(MSG_ERR_MAXTEMP_BED));
549 549
 }
550 550
 
551 551
 float get_pid_output(int e) {

Loading…
Cancel
Save