Always init configured fan pins

master
Scott Lahteine 8 years ago
parent c63003ed3e
commit 3a0a94b21a

@ -987,8 +987,6 @@ void Temperature::init() {
SET_OUTPUT(HEATER_BED_PIN); SET_OUTPUT(HEATER_BED_PIN);
#endif #endif
#if ENABLED(FAST_PWM_FAN) || ENABLED(FAN_SOFT_PWM)
#if HAS_FAN0 #if HAS_FAN0
SET_OUTPUT(FAN_PIN); SET_OUTPUT(FAN_PIN);
#if ENABLED(FAST_PWM_FAN) #if ENABLED(FAST_PWM_FAN)
@ -1019,8 +1017,6 @@ void Temperature::init() {
#endif #endif
#endif #endif
#endif // FAST_PWM_FAN || FAN_SOFT_PWM
#if ENABLED(HEATER_0_USES_MAX6675) #if ENABLED(HEATER_0_USES_MAX6675)
#if DISABLED(SDSUPPORT) #if DISABLED(SDSUPPORT)

Loading…
Cancel
Save