Additional patch for no heated bed

This commit is contained in:
Scott Lahteine 2018-05-04 00:11:13 -05:00
parent 65adea6240
commit c6e4fbe162
2 changed files with 8 additions and 3 deletions

View file

@ -49,8 +49,10 @@ bool Power::is_power_needed() {
if (controllerFanSpeed > 0) return true;
#endif
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
if (X_ENABLE_READ == X_ENABLE_ON || Y_ENABLE_READ == Y_ENABLE_ON || Z_ENABLE_READ == Z_ENABLE_ON
#if HAS_HEATED_BED
|| thermalManager.soft_pwm_amount_bed > 0
#endif
|| E0_ENABLE_READ == E_ENABLE_ON // If any of the drivers are enabled...
#if E_STEPPERS > 1
|| E1_ENABLE_READ == E_ENABLE_ON