Merge pull request #3066 from Blue-Marlin/Fix-disable_all_heaters()
Fix disable_all_heaters() for MAX6675
This commit is contained in:
commit
79778d46d9
@ -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 New Issue
Block a user