Use the common pattern for auto fan pins
Now that pins.h is guaranteed included after configs.
This commit is contained in:
1 parent
3a9f8a00bf
commit
03020dd31e
33 files changed
+245
-132
No files matched your search
@@ -99,7 +99,9 @@
|
||||
#endif
|
||||
#define FAN1_PIN 32 // "FAN2"
|
||||
|
||||
#define ORIG_E0_AUTO_FAN_PIN 32 // Use this by NOT overriding E0_AUTO_FAN_PIN
|
||||
#ifndef E0_AUTO_FAN_PIN
|
||||
#define E0_AUTO_FAN_PIN 32
|
||||
#endif
|
||||
|
||||
//
|
||||
// Servos
|
||||
|
||||
@@ -127,7 +127,9 @@
|
||||
#define FAN1_PIN PA0
|
||||
#define FAN2_PIN PA1
|
||||
|
||||
#define ORIG_E0_AUTO_FAN_PIN PA1 // Use this by NOT overriding E0_AUTO_FAN_PIN
|
||||
#ifndef E0_AUTO_FAN_PIN
|
||||
#define E0_AUTO_FAN_PIN PA1
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
||||
Reference in new issue
Block a user