Fix AUTO_POWER_CONTROL compile error
Counterpart to #11467 Co-Authored-By: lsellens <lsellens@users.noreply.github.com>
This commit is contained in:
parent
eee1b7c50c
commit
e4ecade8d4
1 changed files with 4 additions and 1 deletions
|
@ -70,7 +70,10 @@ bool Power::is_power_needed() {
|
||||||
) return true;
|
) return true;
|
||||||
|
|
||||||
HOTEND_LOOP() if (thermalManager.degTargetHotend(e) > 0) return true;
|
HOTEND_LOOP() if (thermalManager.degTargetHotend(e) > 0) return true;
|
||||||
if (thermalManager.degTargetBed() > 0) return true;
|
|
||||||
|
#if HAS_HEATED_BED
|
||||||
|
if (thermalManager.degTargetBed() > 0) return true;
|
||||||
|
#endif
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue