Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1eaff6a

Browse files
committedMay 22, 2021
🐛 Fix Selena Compact probe pin
1 parent f87800f commit 1eaff6a

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed
 

‎Marlin/src/pins/lpc1768/pins_SELENA_COMPACT.h

+20-18
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444
#define Y_MAX_PIN -1
4545
#define Z_MIN_PIN P1_27
4646
#define Z_MAX_PIN -1
47-
#define Z_PROBE P1_22
47+
#ifndef Z_MIN_PROBE_PIN
48+
#define Z_MIN_PROBE_PIN P1_22
49+
#endif
4850

4951
//
5052
// Steppers
@@ -95,22 +97,22 @@
9597
//
9698

9799
#if IS_RRD_FG_SC
98-
#define LCD_PINS_RS P0_16
99-
#define LCD_PINS_ENABLE P0_18
100-
#define LCD_PINS_D4 P0_15
101-
#define LCD_PINS_D5 P1_00
102-
#define LCD_PINS_D6 P1_01
103-
#define LCD_PINS_D7 P1_04
104-
#define BEEPER_PIN P1_31
105-
106-
#define BTN_EN1 P3_25
107-
#define BTN_EN2 P3_26
108-
#define BTN_ENC P1_30
109-
110-
#define SD_DETECT_PIN -1
111-
112-
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
113-
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
114-
#endif
100+
#define LCD_PINS_RS P0_16
101+
#define LCD_PINS_ENABLE P0_18
102+
#define LCD_PINS_D4 P0_15
103+
#define LCD_PINS_D5 P1_00
104+
#define LCD_PINS_D6 P1_01
105+
#define LCD_PINS_D7 P1_04
106+
#define BEEPER_PIN P1_31
107+
108+
#define BTN_EN1 P3_25
109+
#define BTN_EN2 P3_26
110+
#define BTN_ENC P1_30
111+
112+
#define SD_DETECT_PIN -1
113+
114+
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
115+
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
116+
#endif
115117

116118
#endif // IS_RRD_FG_SC

0 commit comments

Comments
 (0)
Please sign in to comment.