Fix for YHCB2004 (#21450)

This commit is contained in:
Vert 2021-03-25 21:44:35 -04:00 committed by GitHub
parent c55d53daa6
commit 241d2e3fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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