@@ -2286,21 +2286,21 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE, "Movement bounds (X_MIN_POS, X_MAX_POS
22862286 */
22872287#if HAS_AUTO_FAN
22882288 #if HAS_FAN0
2289- #if PIN_EXISTS(E0_AUTO_FAN) && E0_AUTO_FAN_PIN == FAN_PIN
2290- #error "You cannot set E0_AUTO_FAN_PIN equal to FAN_PIN ."
2291- #elif PIN_EXISTS(E1_AUTO_FAN) && E1_AUTO_FAN_PIN == FAN_PIN
2292- #error "You cannot set E1_AUTO_FAN_PIN equal to FAN_PIN ."
2293- #elif PIN_EXISTS(E2_AUTO_FAN) && E2_AUTO_FAN_PIN == FAN_PIN
2294- #error "You cannot set E2_AUTO_FAN_PIN equal to FAN_PIN ."
2295- #elif PIN_EXISTS(E3_AUTO_FAN) && E3_AUTO_FAN_PIN == FAN_PIN
2296- #error "You cannot set E3_AUTO_FAN_PIN equal to FAN_PIN ."
2289+ #if PIN_EXISTS(E0_AUTO_FAN) && E0_AUTO_FAN_PIN == FAN0_PIN
2290+ #error "You cannot set E0_AUTO_FAN_PIN equal to FAN0_PIN ."
2291+ #elif PIN_EXISTS(E1_AUTO_FAN) && E1_AUTO_FAN_PIN == FAN0_PIN
2292+ #error "You cannot set E1_AUTO_FAN_PIN equal to FAN0_PIN ."
2293+ #elif PIN_EXISTS(E2_AUTO_FAN) && E2_AUTO_FAN_PIN == FAN0_PIN
2294+ #error "You cannot set E2_AUTO_FAN_PIN equal to FAN0_PIN ."
2295+ #elif PIN_EXISTS(E3_AUTO_FAN) && E3_AUTO_FAN_PIN == FAN0_PIN
2296+ #error "You cannot set E3_AUTO_FAN_PIN equal to FAN0_PIN ."
22972297 #endif
22982298 #endif
22992299#endif
23002300
23012301#if HAS_FAN0
2302- #if CONTROLLER_FAN_PIN == FAN_PIN
2303- #error "You cannot set CONTROLLER_FAN_PIN equal to FAN_PIN ."
2302+ #if CONTROLLER_FAN_PIN == FAN0_PIN
2303+ #error "You cannot set CONTROLLER_FAN_PIN equal to FAN0_PIN ."
23042304 #elif ENABLED(FAN_SOFT_PWM_REQUIRED) && DISABLED(FAN_SOFT_PWM)
23052305 #error "FAN_SOFT_PWM is required for your board. Enable it to continue."
23062306 #endif
@@ -2342,8 +2342,8 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE, "Movement bounds (X_MIN_POS, X_MAX_POS
23422342#if NEED_CASE_LIGHT_PIN
23432343 #if !PIN_EXISTS(CASE_LIGHT)
23442344 #error "CASE_LIGHT_ENABLE requires CASE_LIGHT_PIN, CASE_LIGHT_USE_NEOPIXEL, or CASE_LIGHT_USE_RGB_LED."
2345- #elif CASE_LIGHT_PIN == FAN_PIN
2346- #error "CASE_LIGHT_PIN conflicts with FAN_PIN . Resolve before continuing."
2345+ #elif CASE_LIGHT_PIN == FAN0_PIN
2346+ #error "CASE_LIGHT_PIN conflicts with FAN0_PIN . Resolve before continuing."
23472347 #endif
23482348#endif
23492349
@@ -4100,8 +4100,8 @@ static_assert(_PLUS_TEST(4), "HOMING_FEEDRATE_MM_M values must be positive.");
41004100 #error "SPINDLE_LASER_PWM_PIN conflicts with E6_AUTO_FAN_PIN."
41014101 #elif _PIN_CONFLICT(E7_AUTO_FAN)
41024102 #error "SPINDLE_LASER_PWM_PIN conflicts with E7_AUTO_FAN_PIN."
4103- #elif _PIN_CONFLICT(FAN )
4104- #error "SPINDLE_LASER_PWM_PIN conflicts with FAN_PIN ."
4103+ #elif _PIN_CONFLICT(FAN0 )
4104+ #error "SPINDLE_LASER_PWM_PIN conflicts with FAN0_PIN ."
41054105 #elif _PIN_CONFLICT(FAN1)
41064106 #error "SPINDLE_LASER_PWM_PIN conflicts with FAN1_PIN."
41074107 #elif _PIN_CONFLICT(FAN2)
0 commit comments