Browse Source

Fix broken DISABLE_HEATER macro

pull/1/head
Scott Lahteine 9 years ago
parent
commit
ee5be92206
  1. 2
      Marlin/temperature.cpp

2
Marlin/temperature.cpp

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

Loading…
Cancel
Save