Browse Source

Fix HAS_CONTROLLER_FAN in is_power_needed

Scott Lahteine 7 years ago
parent
commit
cc9cef7f7a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/power.cpp

+ 1
- 1
Marlin/src/feature/power.cpp View File

45
     HOTEND_LOOP() if (thermalManager.autofan_speed[e] > 0) return true;
45
     HOTEND_LOOP() if (thermalManager.autofan_speed[e] > 0) return true;
46
   #endif
46
   #endif
47
 
47
 
48
-  #if ENABLED(AUTO_POWER_CONTROLLERFAN) && HAS_CONTROLLERFAN
48
+  #if ENABLED(AUTO_POWER_CONTROLLERFAN) && HAS_CONTROLLER_FAN
49
     if (controllerFanSpeed > 0) return true;
49
     if (controllerFanSpeed > 0) return true;
50
   #endif
50
   #endif
51
 
51
 

Loading…
Cancel
Save