Fix HAS_CONTROLLER_FAN in is_power_needed

2.0.x
Scott Lahteine 7 years ago
parent 112917cfef
commit cc9cef7f7a

@ -45,7 +45,7 @@ bool Power::is_power_needed() {
HOTEND_LOOP() if (thermalManager.autofan_speed[e] > 0) return true; HOTEND_LOOP() if (thermalManager.autofan_speed[e] > 0) return true;
#endif #endif
#if ENABLED(AUTO_POWER_CONTROLLERFAN) && HAS_CONTROLLERFAN #if ENABLED(AUTO_POWER_CONTROLLERFAN) && HAS_CONTROLLER_FAN
if (controllerFanSpeed > 0) return true; if (controllerFanSpeed > 0) return true;
#endif #endif

Loading…
Cancel
Save