mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Fix for YHCB2004 (#21450)
This commit is contained in:
parent
8d73a6c4e2
commit
943a8ebdc6
@ -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…
Reference in New Issue
Block a user