Fix HAS_CONTROLLER_FAN in is_power_needed

This commit is contained in:
Scott Lahteine 2018-02-09 03:33:16 -06:00
parent 112917cfef
commit cc9cef7f7a

View File

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