Follow-up the PR #3643(Temperature singleton)
Follow-up the PR #3643(Temperature singleton) ・Change from fanSpeedSoftPwm[0] to thermalManager.fanSpeedSoftPwm[0] in planner.cpp It fix compilation error when FAN_SOFT_PWM is enabled. ・Remove declaration of setExtruderAutoFanState() in temperature.h Because that function was abolished. ・Change from babystepsTodo to thermalManager.babystepsTodo in ultralcd.cpp It fix compilation errors when BABYSTEPPING is enabled.
This commit is contained in:
parent
4f6120f70f
commit
1a97442d19
3 changed files with 12 additions and 13 deletions
|
|
@ -421,13 +421,13 @@ void Planner::check_axes_activity() {
|
|||
|
||||
#if ENABLED(FAN_SOFT_PWM)
|
||||
#if HAS_FAN0
|
||||
fanSpeedSoftPwm[0] = CALC_FAN_SPEED(0);
|
||||
thermalManager.fanSpeedSoftPwm[0] = CALC_FAN_SPEED(0);
|
||||
#endif
|
||||
#if HAS_FAN1
|
||||
fanSpeedSoftPwm[1] = CALC_FAN_SPEED(1);
|
||||
thermalManager.fanSpeedSoftPwm[1] = CALC_FAN_SPEED(1);
|
||||
#endif
|
||||
#if HAS_FAN2
|
||||
fanSpeedSoftPwm[2] = CALC_FAN_SPEED(2);
|
||||
thermalManager.fanSpeedSoftPwm[2] = CALC_FAN_SPEED(2);
|
||||
#endif
|
||||
#else
|
||||
#if HAS_FAN0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue