Fix HAS_CONTROLLER_FAN in is_power_needed

This commit is contained in:
Scott Lahteine 2018-02-09 03:33:45 -06:00
parent c4dbedd5b6
commit 06dff0b7ec

View File

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