Browse Source

Fix Cheetah pins alias (#17882)

Gustavo Alvarez 4 years ago
parent
commit
0332666d38
No account linked to committer's email address

+ 2
- 2
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/pin_mappings.h View File

@@ -169,12 +169,12 @@
169 169
     #error "This pin mapping requires Marlin."
170 170
   #endif
171 171
 
172
-  #define CLCD_MOD_RESET                 BTN_EN2
172
+  #define CLCD_MOD_RESET                 BTN_EN1
173 173
   #define CLCD_SPI_CS                    LCD_PINS_RS
174 174
 
175 175
   #if ENABLED(CLCD_USE_SOFT_SPI)
176 176
     #define CLCD_SOFT_SPI_MOSI           LCD_PINS_ENABLE
177
-    #define CLCD_SOFT_SPI_MISO           LCD_PINS_RS
177
+    #define CLCD_SOFT_SPI_MISO           LCD_PINS_SCK
178 178
     #define CLCD_SOFT_SPI_SCLK           LCD_PINS_D4
179 179
   #endif
180 180
 #endif

+ 6
- 4
Marlin/src/pins/stm32f1/pins_FYSETC_CHEETAH.h View File

@@ -175,13 +175,15 @@
175 175
 #if ENABLED(TOUCH_UI_FTDI_EVE)
176 176
   #define BEEPER_PIN                EXPA1_10_PIN
177 177
 
178
-  #define BTN_EN2                   EXPA1_08_PIN
178
+  #define BTN_EN1                   EXPA1_06_PIN
179
+
180
+  #define LCD_PINS_RS               EXPA1_04_PIN
179 181
 
180 182
   #define CLCD_SPI_BUS 2
181 183
   //#define CLCD_USE_SOFT_SPI
182 184
   #if ENABLED(CLCD_USE_SOFT_SPI)
183
-    #define LCD_PINS_RS             EXPA1_04_PIN
184
-    #define LCD_PINS_D4             EXPA1_07_PIN
185
-    #define LCD_PINS_ENABLE         EXPA1_05_PIN
185
+    #define LCD_PINS_ENABLE         EXPA1_03_PIN
186
+    #define LCD_PINS_SCK            EXPA1_07_PIN
187
+    #define LCD_PINS_D4             EXPA1_05_PIN
186 188
   #endif
187 189
 #endif

Loading…
Cancel
Save