Use the common pattern for auto fan pins
Now that pins.h is guaranteed included after configs.
This commit is contained in:
@@ -166,9 +166,12 @@
|
||||
|
||||
#define FAN_PIN 57 // PC4 E1_FAN PWM pin, Part cooling fan FET
|
||||
#define FAN1_PIN 58 // PC5 E2_FAN PWM pin, Extruder fan FET
|
||||
#define ORIG_E0_AUTO_FAN_PIN FAN1_PIN
|
||||
#define FAN2_PIN 59 // PE8 E3_FAN PWM pin, Controller fan FET
|
||||
|
||||
#ifndef E0_AUTO_FAN_PIN
|
||||
#define E0_AUTO_FAN_PIN 58 // FAN1_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// Misc functions
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user