Use the common pattern for auto fan pins
Now that pins.h is guaranteed included after configs.
This commit is contained in:
@ -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