Browse Source

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

Fix disable_all_heaters() for MAX6675
pull/1/head
Scott Lahteine 9 years ago
parent
commit
79778d46d9
  1. 2
      Marlin/temperature.cpp

2
Marlin/temperature.cpp

@ -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…
Cancel
Save