0r31
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Marlin/src/inc/Conditionals_post.h
|
@ -1220,7 +1220,7 @@ |
|
|
|
|
|
|
|
|
// Other fans
|
|
|
// Other fans
|
|
|
#define HAS_FAN0 (PIN_EXISTS(FAN)) |
|
|
#define HAS_FAN0 (PIN_EXISTS(FAN)) |
|
|
#define _HAS_FAN(P) (PIN_EXISTS(FAN_##P) && CONTROLLER_FAN_PIN != FAN_##P##_PIN && E0_AUTO_FAN_PIN != FAN_##P##_PIN && E1_AUTO_FAN_PIN != FAN_##P##_PIN && E2_AUTO_FAN_PIN != FAN_##P##_PIN && E3_AUTO_FAN_PIN != FAN_##P##_PIN && E4_AUTO_FAN_PIN != FAN_##P##_PIN && E5_AUTO_FAN_PIN != FAN_##P##_PIN && E6_AUTO_FAN_PIN != FAN_##P##_PIN && E7_AUTO_FAN_PIN != FAN_##P##_PIN) |
|
|
#define _HAS_FAN(P) (PIN_EXISTS(FAN##P) && CONTROLLER_FAN_PIN != FAN##P##_PIN && E0_AUTO_FAN_PIN != FAN##P##_PIN && E1_AUTO_FAN_PIN != FAN##P##_PIN && E2_AUTO_FAN_PIN != FAN##P##_PIN && E3_AUTO_FAN_PIN != FAN##P##_PIN && E4_AUTO_FAN_PIN != FAN##P##_PIN && E5_AUTO_FAN_PIN != FAN##P##_PIN && E6_AUTO_FAN_PIN != FAN##P##_PIN && E7_AUTO_FAN_PIN != FAN##P##_PIN) |
|
|
#define HAS_FAN1 _HAS_FAN(1) |
|
|
#define HAS_FAN1 _HAS_FAN(1) |
|
|
#define HAS_FAN2 _HAS_FAN(2) |
|
|
#define HAS_FAN2 _HAS_FAN(2) |
|
|
#define HAS_FAN3 _HAS_FAN(3) |
|
|
#define HAS_FAN3 _HAS_FAN(3) |
|
|