Browse Source

Merge pull request #4038 from thinkyhead/rc_fix_heater_off

Fix broken DISABLE_HEATER macro
Scott Lahteine 8 years ago
parent
commit
78a48d7e3c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp View File

@@ -1228,7 +1228,7 @@ void Temperature::disable_all_heaters() {
1228 1228
   print_job_timer.stop();
1229 1229
 
1230 1230
   #define DISABLE_HEATER(NR) { \
1231
-    setTargetHotend(NR, 0); \
1231
+    setTargetHotend(0, NR); \
1232 1232
     soft_pwm[NR] = 0; \
1233 1233
     WRITE_HEATER_ ## NR (LOW); \
1234 1234
   }

Loading…
Cancel
Save