Browse Source

YHCB2004 pins followup (#21472)

Vert 4 years ago
parent
commit
001c77d1f7
No account linked to committer's email address
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      Marlin/src/pins/mega/pins_GT2560_V3.h

+ 7
- 7
Marlin/src/pins/mega/pins_GT2560_V3.h View File

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

Loading…
Cancel
Save