|
@@ -982,9 +982,6 @@ void Temperature::init() {
|
982
|
982
|
#if ENABLED(FAST_PWM_FAN)
|
983
|
983
|
setPwmFrequency(FAN_PIN, 1); // No prescaling. Pwm frequency = F_CPU/256/8
|
984
|
984
|
#endif
|
985
|
|
- #if ENABLED(FAN_SOFT_PWM)
|
986
|
|
- soft_pwm_fan[0] = fanSpeedSoftPwm[0] >> 1;
|
987
|
|
- #endif
|
988
|
985
|
#endif
|
989
|
986
|
|
990
|
987
|
#if HAS_FAN1
|
|
@@ -992,9 +989,6 @@ void Temperature::init() {
|
992
|
989
|
#if ENABLED(FAST_PWM_FAN)
|
993
|
990
|
setPwmFrequency(FAN1_PIN, 1); // No prescaling. Pwm frequency = F_CPU/256/8
|
994
|
991
|
#endif
|
995
|
|
- #if ENABLED(FAN_SOFT_PWM)
|
996
|
|
- soft_pwm_fan[1] = fanSpeedSoftPwm[1] >> 1;
|
997
|
|
- #endif
|
998
|
992
|
#endif
|
999
|
993
|
|
1000
|
994
|
#if HAS_FAN2
|
|
@@ -1002,9 +996,6 @@ void Temperature::init() {
|
1002
|
996
|
#if ENABLED(FAST_PWM_FAN)
|
1003
|
997
|
setPwmFrequency(FAN2_PIN, 1); // No prescaling. Pwm frequency = F_CPU/256/8
|
1004
|
998
|
#endif
|
1005
|
|
- #if ENABLED(FAN_SOFT_PWM)
|
1006
|
|
- soft_pwm_fan[2] = fanSpeedSoftPwm[2] >> 1;
|
1007
|
|
- #endif
|
1008
|
999
|
#endif
|
1009
|
1000
|
|
1010
|
1001
|
#if ENABLED(HEATER_0_USES_MAX6675)
|