Fix AUTO_POWER_CONTROL compile error

Counterpart to #11467

Co-Authored-By: lsellens <lsellens@users.noreply.github.com>
This commit is contained in:
Scott Lahteine 2018-08-06 23:20:51 -05:00
parent eee1b7c50c
commit e4ecade8d4

View file

@ -70,7 +70,10 @@ bool Power::is_power_needed() {
) return true;
HOTEND_LOOP() if (thermalManager.degTargetHotend(e) > 0) return true;
#if HAS_HEATED_BED
if (thermalManager.degTargetBed() > 0) return true;
#endif
return false;
}