Pārlūkot izejas kodu

Update HAS_FAN flags for 4 auto fans

Scott Lahteine 8 gadus atpakaļ
vecāks
revīzija
7272ec5608
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      Marlin/Conditionals_post.h

+ 2
- 2
Marlin/Conditionals_post.h Parādīt failu

@@ -448,8 +448,8 @@
448 448
   #define AUTO_3_IS_2 (EXTRUDER_3_AUTO_FAN_PIN == EXTRUDER_2_AUTO_FAN_PIN)
449 449
   #define HAS_AUTO_FAN (HAS_AUTO_FAN_0 || HAS_AUTO_FAN_1 || HAS_AUTO_FAN_2 || HAS_AUTO_FAN_3)
450 450
   #define HAS_FAN0 (PIN_EXISTS(FAN))
451
-  #define HAS_FAN1 (PIN_EXISTS(FAN1) && CONTROLLERFAN_PIN != FAN1_PIN && EXTRUDER_0_AUTO_FAN_PIN != FAN1_PIN && EXTRUDER_1_AUTO_FAN_PIN != FAN1_PIN && EXTRUDER_2_AUTO_FAN_PIN != FAN1_PIN)
452
-  #define HAS_FAN2 (PIN_EXISTS(FAN2) && CONTROLLERFAN_PIN != FAN2_PIN && EXTRUDER_0_AUTO_FAN_PIN != FAN2_PIN && EXTRUDER_1_AUTO_FAN_PIN != FAN2_PIN && EXTRUDER_2_AUTO_FAN_PIN != FAN2_PIN)
451
+  #define HAS_FAN1 (PIN_EXISTS(FAN1) && CONTROLLERFAN_PIN != FAN1_PIN && EXTRUDER_0_AUTO_FAN_PIN != FAN1_PIN && EXTRUDER_1_AUTO_FAN_PIN != FAN1_PIN && EXTRUDER_2_AUTO_FAN_PIN != FAN1_PIN && EXTRUDER_3_AUTO_FAN_PIN != FAN1_PIN)
452
+  #define HAS_FAN2 (PIN_EXISTS(FAN2) && CONTROLLERFAN_PIN != FAN2_PIN && EXTRUDER_0_AUTO_FAN_PIN != FAN2_PIN && EXTRUDER_1_AUTO_FAN_PIN != FAN2_PIN && EXTRUDER_2_AUTO_FAN_PIN != FAN2_PIN && EXTRUDER_3_AUTO_FAN_PIN != FAN2_PIN)
453 453
   #define HAS_CONTROLLERFAN (PIN_EXISTS(CONTROLLERFAN))
454 454
   #define HAS_SERVOS (defined(NUM_SERVOS) && NUM_SERVOS > 0)
455 455
   #define HAS_SERVO_0 (PIN_EXISTS(SERVO0))

Notiek ielāde…
Atcelt
Saglabāt