Always init configured fan pins
This commit is contained in:
parent
c63003ed3e
commit
3a0a94b21a
1 changed files with 24 additions and 28 deletions
|
@ -987,8 +987,6 @@ void Temperature::init() {
|
|||
SET_OUTPUT(HEATER_BED_PIN);
|
||||
#endif
|
||||
|
||||
#if ENABLED(FAST_PWM_FAN) || ENABLED(FAN_SOFT_PWM)
|
||||
|
||||
#if HAS_FAN0
|
||||
SET_OUTPUT(FAN_PIN);
|
||||
#if ENABLED(FAST_PWM_FAN)
|
||||
|
@ -1019,8 +1017,6 @@ void Temperature::init() {
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#endif // FAST_PWM_FAN || FAN_SOFT_PWM
|
||||
|
||||
#if ENABLED(HEATER_0_USES_MAX6675)
|
||||
|
||||
#if DISABLED(SDSUPPORT)
|
||||
|
|
Reference in a new issue