Przeglądaj źródła

🐛 Fix Selena Compact probe pin

Scott Lahteine 3 lat temu
rodzic
commit
6689e5ed75
1 zmienionych plików z 20 dodań i 18 usunięć
  1. 20
    18
      Marlin/src/pins/lpc1768/pins_SELENA_COMPACT.h

+ 20
- 18
Marlin/src/pins/lpc1768/pins_SELENA_COMPACT.h Wyświetl plik

@@ -44,7 +44,9 @@
44 44
 #define Y_MAX_PIN                          -1
45 45
 #define Z_MIN_PIN                          P1_27
46 46
 #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
48 50
 
49 51
 //
50 52
 // Steppers
@@ -95,22 +97,22 @@
95 97
 //
96 98
 
97 99
 #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
115 117
 
116 118
 #endif // IS_RRD_FG_SC

Ładowanie…
Anuluj
Zapisz