Add temperature-based auto power options (#14397)
This commit is contained in:
1 parent
00cc1079af
commit
8ce84fa44f
109 files changed
+224
-2
No files matched your search
@@ -94,6 +94,14 @@ bool Power::is_power_needed() {
|
||||
if (thermalManager.degTargetBed() > 0) return true;
|
||||
#endif
|
||||
|
||||
#if HOTENDS && AUTO_POWER_E_TEMP
|
||||
HOTEND_LOOP() if (thermalManager.degHotend(e) >= AUTO_POWER_E_TEMP) return true;
|
||||
#endif
|
||||
|
||||
#if HAS_HEATED_CHAMBER && AUTO_POWER_CHAMBER_TEMP
|
||||
if (thermalManager.degChamber() >= AUTO_POWER_CHAMBER_TEMP) return true;
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user