Cleanup to software PWM variables
This commit is contained in:
parent
83b6bc8e05
commit
a1e04942a2
4 changed files with 82 additions and 90 deletions
|
|
@ -491,13 +491,13 @@ void Planner::check_axes_activity() {
|
|||
|
||||
#if ENABLED(FAN_SOFT_PWM)
|
||||
#if HAS_FAN0
|
||||
thermalManager.fanSpeedSoftPwm[0] = CALC_FAN_SPEED(0);
|
||||
thermalManager.soft_pwm_amount_fan[0] = CALC_FAN_SPEED(0);
|
||||
#endif
|
||||
#if HAS_FAN1
|
||||
thermalManager.fanSpeedSoftPwm[1] = CALC_FAN_SPEED(1);
|
||||
thermalManager.soft_pwm_amount_fan[1] = CALC_FAN_SPEED(1);
|
||||
#endif
|
||||
#if HAS_FAN2
|
||||
thermalManager.fanSpeedSoftPwm[2] = CALC_FAN_SPEED(2);
|
||||
thermalManager.soft_pwm_amount_fan[2] = CALC_FAN_SPEED(2);
|
||||
#endif
|
||||
#else
|
||||
#if HAS_FAN0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue