Skip to content

Commit

Permalink
Fix for YHCB2004 (MarlinFirmware#21450)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vertabreak authored Mar 26, 2021
1 parent c55d53d commit 241d2e3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Marlin/src/pins/mega/pins_GT2560_V3.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,15 @@
#if ENABLED(YHCB2004)
#ifndef YHCB2004_CLK
#define YHCB2004_CLK 5
#define DIO52 YHCB2004_CLK
#endif
#ifndef YHCB2004_MOSI
#define YHCB2004_MOSI 21
#define YHCB2004_MOSI 36
#define DIO51 YHCB2004_MOSI
#endif
#ifndef YHCB2004_MISO
#define YHCB2004_MISO 36
#define YHCB2004_MISO 21
#define DIO50 YHCB2004_MISO
#endif
#elif HAS_WIRED_LCD
#ifndef LCD_PINS_RS
Expand Down Expand Up @@ -206,4 +209,4 @@
#ifndef BTN_ENC
#define BTN_ENC 19
#endif
#endif
#endif

0 comments on commit 241d2e3

Please sign in to comment.