Skip to content

Commit

Permalink
Merge pull request #3132 from thinkyhead/rc_heating_failed_err
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Mar 13, 2016
2 parents 7326d63 + 81aab82 commit f928894
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Marlin/temperature.cpp
Expand Up @@ -1112,13 +1112,13 @@ void disable_all_heaters() {
setTargetBed(0);

#define DISABLE_HEATER(NR) { \
target_temperature[NR] = 0; \
setTargetHotend(NR, 0); \
soft_pwm[NR] = 0; \
WRITE_HEATER_ ## NR (LOW); \
}

#if HAS_TEMP_0 || ENABLED(HEATER_0_USES_MAX6675)
target_temperature[0] = 0;
#if HAS_TEMP_0 || ENABLED(HEATER_0_USES_MAX6675)
setTargetHotend(0, 0);
soft_pwm[0] = 0;
WRITE_HEATER_0P(LOW); // Should HEATERS_PARALLEL apply here? Then change to DISABLE_HEATER(0)
#endif
Expand Down

0 comments on commit f928894

Please sign in to comment.