Move FAST_PWM_FAN code to HALs (#13491)
This commit is contained in:
committed by
Scott Lahteine
parent
263f8edff8
commit
ffc2c2d7c5
@ -1278,13 +1278,13 @@ void Planner::check_axes_activity() {
|
||||
#elif ENABLED(FAST_PWM_FAN)
|
||||
|
||||
#if HAS_FAN0
|
||||
thermalManager.set_pwm_duty(FAN_PIN, CALC_FAN_SPEED(0));
|
||||
set_pwm_duty(FAN_PIN, CALC_FAN_SPEED(0));
|
||||
#endif
|
||||
#if HAS_FAN1
|
||||
thermalManager.set_pwm_duty(FAN1_PIN, CALC_FAN_SPEED(1));
|
||||
set_pwm_duty(FAN1_PIN, CALC_FAN_SPEED(1));
|
||||
#endif
|
||||
#if HAS_FAN2
|
||||
thermalManager.set_pwm_duty(FAN2_PIN, CALC_FAN_SPEED(2));
|
||||
set_pwm_duty(FAN2_PIN, CALC_FAN_SPEED(2));
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
Reference in New Issue
Block a user