|
@@ -50,20 +50,30 @@ bool Power::is_power_needed() {
|
50
|
50
|
if (controllerFanSpeed > 0) return true;
|
51
|
51
|
#endif
|
52
|
52
|
|
|
53
|
+ // If any of the drivers or the bed are enabled...
|
53
|
54
|
if (X_ENABLE_READ == X_ENABLE_ON || Y_ENABLE_READ == Y_ENABLE_ON || Z_ENABLE_READ == Z_ENABLE_ON
|
54
|
55
|
#if HAS_HEATED_BED
|
55
|
56
|
|| thermalManager.soft_pwm_amount_bed > 0
|
56
|
57
|
#endif
|
57
|
|
- || E0_ENABLE_READ == E_ENABLE_ON // If any of the drivers are enabled...
|
|
58
|
+ #if HAS_X2_ENABLE
|
|
59
|
+ || X2_ENABLE_READ == X_ENABLE_ON
|
|
60
|
+ #endif
|
|
61
|
+ #if HAS_Y2_ENABLE
|
|
62
|
+ || Y2_ENABLE_READ == Y_ENABLE_ON
|
|
63
|
+ #endif
|
|
64
|
+ #if HAS_Z2_ENABLE
|
|
65
|
+ || Z2_ENABLE_READ == Z_ENABLE_ON
|
|
66
|
+ #endif
|
|
67
|
+ || E0_ENABLE_READ == E_ENABLE_ON
|
58
|
68
|
#if E_STEPPERS > 1
|
59
|
69
|
|| E1_ENABLE_READ == E_ENABLE_ON
|
60
|
|
- #if HAS_X2_ENABLE
|
61
|
|
- || X2_ENABLE_READ == X_ENABLE_ON
|
62
|
|
- #endif
|
63
|
70
|
#if E_STEPPERS > 2
|
64
|
71
|
|| E2_ENABLE_READ == E_ENABLE_ON
|
65
|
72
|
#if E_STEPPERS > 3
|
66
|
73
|
|| E3_ENABLE_READ == E_ENABLE_ON
|
|
74
|
+ #if E_STEPPERS > 4
|
|
75
|
+ || E4_ENABLE_READ == E_ENABLE_ON
|
|
76
|
+ #endif
|
67
|
77
|
#endif
|
68
|
78
|
#endif
|
69
|
79
|
#endif
|