We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec3daad commit b245089Copy full SHA for b245089
Marlin/src/feature/power.cpp
@@ -81,7 +81,10 @@ bool Power::is_power_needed() {
81
#endif
82
) return true;
83
84
- HOTEND_LOOP() if (thermalManager.degTargetHotend(e) > 0 || thermalManager.temp_hotend[e].soft_pwm_amount > 0) return true;
+ #if HAS_HOTEND
85
+ HOTEND_LOOP() if (thermalManager.degTargetHotend(e) > 0 || thermalManager.temp_hotend[e].soft_pwm_amount > 0) return true;
86
+ #endif
87
+
88
if (TERN0(HAS_HEATED_BED, thermalManager.degTargetBed() > 0 || thermalManager.temp_bed.soft_pwm_amount > 0)) return true;
89
90
#if HAS_HOTEND && AUTO_POWER_E_TEMP
0 commit comments