Use the common pattern for auto fan pins
Now that pins.h is guaranteed included after configs.
This commit is contained in:
@@ -118,11 +118,22 @@
|
||||
#define CONTROLLER_FAN_PIN 4 // Pin used for the fan to cool motherboard (-1 to disable)
|
||||
#endif
|
||||
|
||||
// Fans/Water Pump to cool the hotend cool side.
|
||||
#define ORIG_E0_AUTO_FAN_PIN 5
|
||||
#define ORIG_E1_AUTO_FAN_PIN 5
|
||||
#define ORIG_E2_AUTO_FAN_PIN 5
|
||||
#define ORIG_E3_AUTO_FAN_PIN 5
|
||||
//
|
||||
// Auto fans
|
||||
//
|
||||
#define AUTO_FAN_PIN 5
|
||||
#ifndef E0_AUTO_FAN_PIN
|
||||
#define E0_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#endif
|
||||
#ifndef E1_AUTO_FAN_PIN
|
||||
#define E1_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#endif
|
||||
#ifndef E2_AUTO_FAN_PIN
|
||||
#define E2_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#endif
|
||||
#ifndef E3_AUTO_FAN_PIN
|
||||
#define E3_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
|
||||
Reference in New Issue
Block a user