Always init configured fan pins

This commit is contained in:
Scott Lahteine 2016-08-13 20:16:13 -07:00
parent c63003ed3e
commit 3a0a94b21a

View File

@ -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)