1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Merge pull request #3066 from Blue-Marlin/Fix-disable_all_heaters()

Fix disable_all_heaters() for MAX6675
This commit is contained in:
Scott Lahteine 2016-03-02 17:35:08 -08:00
commit 79778d46d9

View File

@ -1115,7 +1115,7 @@ void disable_all_heaters() {
WRITE_HEATER_ ## NR (LOW); \
}
#if HAS_TEMP_0
#if HAS_TEMP_0 || ENABLED(HEATER_0_USES_MAX6675)
target_temperature[0] = 0;
soft_pwm[0] = 0;
WRITE_HEATER_0P(LOW); // Should HEATERS_PARALLEL apply here? Then change to DISABLE_HEATER(0)