mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Merge pull request #4038 from thinkyhead/rc_fix_heater_off
Fix broken DISABLE_HEATER macro
This commit is contained in:
commit
78a48d7e3c
@ -1228,7 +1228,7 @@ void Temperature::disable_all_heaters() {
|
||||
print_job_timer.stop();
|
||||
|
||||
#define DISABLE_HEATER(NR) { \
|
||||
setTargetHotend(NR, 0); \
|
||||
setTargetHotend(0, NR); \
|
||||
soft_pwm[NR] = 0; \
|
||||
WRITE_HEATER_ ## NR (LOW); \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user