瀏覽代碼

Fix for YHCB2004 (#21450)

Vert 4 年之前
父節點
當前提交
241d2e3fa3
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 6 行新增3 行删除
  1. 6
    3
      Marlin/src/pins/mega/pins_GT2560_V3.h

+ 6
- 3
Marlin/src/pins/mega/pins_GT2560_V3.h 查看文件

@@ -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

Loading…
取消
儲存