File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11479,7 +11479,7 @@ void prepare_move_to_destination() {
11479
11479
11480
11480
#endif // BEZIER_CURVE_SUPPORT
11481
11481
11482
- #if USE_CONTROLLER_FAN
11482
+ #if ENABLED( USE_CONTROLLER_FAN)
11483
11483
11484
11484
void controllerFan() {
11485
11485
static millis_t lastMotorOn = 0, // Last time a motor was turned on
@@ -11933,7 +11933,7 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
11933
11933
}
11934
11934
#endif
11935
11935
11936
- #if USE_CONTROLLER_FAN
11936
+ #if ENABLED( USE_CONTROLLER_FAN)
11937
11937
controllerFan(); // Check if fan should be turned on to cool stepper drivers down
11938
11938
#endif
11939
11939
@@ -12203,7 +12203,7 @@ void setup() {
12203
12203
endstops.enable_z_probe(false);
12204
12204
#endif
12205
12205
12206
- #if USE_CONTROLLER_FAN
12206
+ #if ENABLED( USE_CONTROLLER_FAN)
12207
12207
SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan
12208
12208
#endif
12209
12209
Original file line number Diff line number Diff line change @@ -771,7 +771,7 @@ static_assert(1 >= 0
771
771
#error "You cannot set CONTROLLER_FAN_PIN equal to FAN_PIN."
772
772
#endif
773
773
774
- #if USE_CONTROLLER_FAN
774
+ #if ENABLED( USE_CONTROLLER_FAN)
775
775
#if !HAS_CONTROLLER_FAN
776
776
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
777
777
#elif E0_AUTO_FAN_PIN == CONTROLLER_FAN_PIN
You can’t perform that action at this time.
0 commit comments