|
@@ -35,7 +35,10 @@ void controllerfan_update() {
|
35
|
35
|
const millis_t ms = millis();
|
36
|
36
|
if (ELAPSED(ms, nextMotorCheck)) {
|
37
|
37
|
nextMotorCheck = ms + 2500UL; // Not a time critical function, so only check every 2.5s
|
38
|
|
- if (X_ENABLE_READ == X_ENABLE_ON || Y_ENABLE_READ == Y_ENABLE_ON || Z_ENABLE_READ == Z_ENABLE_ON || thermalManager.soft_pwm_amount_bed > 0
|
|
38
|
+ if (X_ENABLE_READ == X_ENABLE_ON || Y_ENABLE_READ == Y_ENABLE_ON || Z_ENABLE_READ == Z_ENABLE_ON
|
|
39
|
+ #if HAS_HEATED_BED
|
|
40
|
+ || thermalManager.soft_pwm_amount_bed > 0
|
|
41
|
+ #endif
|
39
|
42
|
|| E0_ENABLE_READ == E_ENABLE_ON // If any of the drivers are enabled...
|
40
|
43
|
#if E_STEPPERS > 1
|
41
|
44
|
|| E1_ENABLE_READ == E_ENABLE_ON
|