1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Fix broken DISABLE_HEATER macro

This commit is contained in:
Scott Lahteine 2016-06-13 20:57:58 -07:00
parent e7e57f0eb4
commit ee5be92206

View File

@ -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); \
} }