Quellcode durchsuchen

Update HAS_FAN flags for 4 auto fans

Scott Lahteine vor 8 Jahren
Ursprung
Commit
7272ec5608
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      Marlin/Conditionals_post.h

+ 2
- 2
Marlin/Conditionals_post.h Datei anzeigen

@@ -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))

Laden…
Abbrechen
Speichern