Fix compile issue with USE_CONTROLLER_FAN (#9665)

This commit is contained in:
Bob-the-Kuhn 2018-02-16 02:02:20 -06:00 committed by Scott Lahteine
parent 2ec90d2162
commit 15204bd5e9
3 changed files with 3 additions and 3 deletions

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_CONTROLLER_FAN
#if ENABLED(AUTO_POWER_CONTROLLERFAN) && HAS_CONTROLLER_FAN && ENABLED(USE_CONTROLLER_FAN)
if (controllerFanSpeed > 0) return true;
#endif