Apply more HAS_HOTEND

This commit is contained in:
Scott Lahteine
2020-04-27 22:35:25 -05:00
parent 94291eb59f
commit 01c646a892
9 changed files with 34 additions and 66 deletions

View File

@ -74,7 +74,7 @@ bool Power::is_power_needed() {
HOTEND_LOOP() if (thermalManager.degTargetHotend(e) > 0) return true;
if (TERN0(HAS_HEATED_BED, thermalManager.degTargetBed() > 0)) return true;
#if HOTENDS && AUTO_POWER_E_TEMP
#if HAS_HOTEND && AUTO_POWER_E_TEMP
HOTEND_LOOP() if (thermalManager.degHotend(e) >= AUTO_POWER_E_TEMP) return true;
#endif