Browse Source

Fix for YHCB2004 (#21450)

vanilla_fb_2.0.x
Vert 4 years ago
committed by GitHub
parent
commit
241d2e3fa3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      Marlin/src/pins/mega/pins_GT2560_V3.h

9
Marlin/src/pins/mega/pins_GT2560_V3.h

@ -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
@ -206,4 +209,4 @@
#ifndef BTN_ENC
#define BTN_ENC 19
#endif
#endif
#endif
Loading…
Cancel
Save