Parcourir la source

Fix Cheetah pins alias (#17882)

Gustavo Alvarez il y a 5 ans
Parent
révision
0332666d38
Aucun compte lié à l'adresse e-mail de l'auteur

+ 2
- 2
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/pin_mappings.h Voir le fichier

169
     #error "This pin mapping requires Marlin."
169
     #error "This pin mapping requires Marlin."
170
   #endif
170
   #endif
171
 
171
 
172
-  #define CLCD_MOD_RESET                 BTN_EN2
172
+  #define CLCD_MOD_RESET                 BTN_EN1
173
   #define CLCD_SPI_CS                    LCD_PINS_RS
173
   #define CLCD_SPI_CS                    LCD_PINS_RS
174
 
174
 
175
   #if ENABLED(CLCD_USE_SOFT_SPI)
175
   #if ENABLED(CLCD_USE_SOFT_SPI)
176
     #define CLCD_SOFT_SPI_MOSI           LCD_PINS_ENABLE
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
     #define CLCD_SOFT_SPI_SCLK           LCD_PINS_D4
178
     #define CLCD_SOFT_SPI_SCLK           LCD_PINS_D4
179
   #endif
179
   #endif
180
 #endif
180
 #endif

+ 6
- 4
Marlin/src/pins/stm32f1/pins_FYSETC_CHEETAH.h Voir le fichier

175
 #if ENABLED(TOUCH_UI_FTDI_EVE)
175
 #if ENABLED(TOUCH_UI_FTDI_EVE)
176
   #define BEEPER_PIN                EXPA1_10_PIN
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
   #define CLCD_SPI_BUS 2
182
   #define CLCD_SPI_BUS 2
181
   //#define CLCD_USE_SOFT_SPI
183
   //#define CLCD_USE_SOFT_SPI
182
   #if ENABLED(CLCD_USE_SOFT_SPI)
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
   #endif
188
   #endif
187
 #endif
189
 #endif

Chargement…
Annuler
Enregistrer