Allow FAN_PIN override, pins cleanup (#10956)
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
#define Z_ENABLE_PIN 26
|
||||
#define E0_ENABLE_PIN 14
|
||||
|
||||
#if ENABLED(LCD_I2C_PANELOLU2)
|
||||
#if !defined(FAN_PIN) && ENABLED(LCD_I2C_PANELOLU2)
|
||||
#define FAN_PIN 4 // Uses Transistor1 (PWM) on Panelolu2's Sanguino Adapter Board to drive the fan
|
||||
#endif
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
#if MB(AZTEEG_X1) || MB(STB_11) || ENABLED(IS_MELZI)
|
||||
#if !defined(FAN_PIN) && (MB(AZTEEG_X1) || MB(STB_11) || ENABLED(IS_MELZI))
|
||||
#define FAN_PIN 4 // Works for Panelolu2 too
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user