Browse Source

Fix AUTO_POWER_CONTROL compile error

Counterpart to #11467

Co-Authored-By: lsellens <lsellens@users.noreply.github.com>
pull/1/head
Scott Lahteine 6 years ago
parent
commit
e4ecade8d4
  1. 5
      Marlin/src/feature/power.cpp

5
Marlin/src/feature/power.cpp

@ -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;
} }

Loading…
Cancel
Save