Checks for CR10_STOCKDISPLAY with Creality v4 (#19019)

This commit is contained in:
ellensp 2020-08-16 15:57:07 +12:00 committed by GitHub
parent e70440b7cb
commit 19818a95a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,6 +134,10 @@
#define ONBOARD_SD_CS_PIN PA4 // SDSS #define ONBOARD_SD_CS_PIN PA4 // SDSS
#define SDIO_SUPPORT #define SDIO_SUPPORT
#if ENABLED(CR10_STOCKDISPLAY) && NONE(RET6_12864_LCD, VET6_12864_LCD)
#error "Define RET6_12864_LCD or VET6_12864_LCD to select pins for CR10_STOCKDISPLAY with the Creality V4 controller."
#endif
#if ENABLED(RET6_12864_LCD) #if ENABLED(RET6_12864_LCD)
/* RET6 12864 LCD */ /* RET6 12864 LCD */
@ -146,6 +150,7 @@
#define BTN_EN2 PB14 #define BTN_EN2 PB14
#define BEEPER_PIN PC6 #define BEEPER_PIN PC6
#elif ENABLED(VET6_12864_LCD) #elif ENABLED(VET6_12864_LCD)
/* VET6 12864 LCD */ /* VET6 12864 LCD */