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 and W4tel-BiDi committed Apr 5, 2021
1 parent 8d7bbc2 commit d9bc77e
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 d9bc77e

Please sign in to comment.