Pārlūkot izejas kodu

Fix for YHCB2004 (#21450)

Vert 4 gadus atpakaļ
vecāks
revīzija
241d2e3fa3
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 6 papildinājumiem un 3 dzēšanām
  1. 6
    3
      Marlin/src/pins/mega/pins_GT2560_V3.h

+ 6
- 3
Marlin/src/pins/mega/pins_GT2560_V3.h Parādīt failu

@@ -158,12 +158,15 @@
158 158
 #if ENABLED(YHCB2004)
159 159
   #ifndef YHCB2004_CLK
160 160
     #define YHCB2004_CLK                      5
161
+    #define DIO52 YHCB2004_CLK
161 162
   #endif
162 163
   #ifndef YHCB2004_MOSI
163
-    #define YHCB2004_MOSI                     21
164
+    #define YHCB2004_MOSI                     36
165
+    #define DIO51 YHCB2004_MOSI
164 166
   #endif
165 167
   #ifndef YHCB2004_MISO
166
-    #define YHCB2004_MISO                     36
168
+    #define YHCB2004_MISO                     21
169
+    #define DIO50 YHCB2004_MISO
167 170
   #endif
168 171
 #elif HAS_WIRED_LCD
169 172
   #ifndef LCD_PINS_RS
@@ -206,4 +209,4 @@
206 209
   #ifndef BTN_ENC
207 210
     #define BTN_ENC                           19
208 211
   #endif
209
-#endif
212
+#endif

Notiek ielāde…
Atcelt
Saglabāt