Fix disable_all_heaters() for MAX6675
This commit is contained in:
parent
8dccd5a7ea
commit
0631541166
|
@ -1115,7 +1115,7 @@ void disable_all_heaters() {
|
||||||
WRITE_HEATER_ ## NR (LOW); \
|
WRITE_HEATER_ ## NR (LOW); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAS_TEMP_0
|
#if HAS_TEMP_0 || ENABLED(HEATER_0_USES_MAX6675)
|
||||||
target_temperature[0] = 0;
|
target_temperature[0] = 0;
|
||||||
soft_pwm[0] = 0;
|
soft_pwm[0] = 0;
|
||||||
WRITE_HEATER_0P(LOW); // Should HEATERS_PARALLEL apply here? Then change to DISABLE_HEATER(0)
|
WRITE_HEATER_0P(LOW); // Should HEATERS_PARALLEL apply here? Then change to DISABLE_HEATER(0)
|
||||||
|
|
Loading…
Reference in a new issue