Skip to content

Commit

Permalink
Checks for CR10_STOCKDISPLAY with Creality v4 (#19019)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp committed Aug 16, 2020
1 parent e70440b commit 19818a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@
#define ONBOARD_SD_CS_PIN PA4 // SDSS
#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)

/* RET6 12864 LCD */
Expand All @@ -146,6 +150,7 @@
#define BTN_EN2 PB14

#define BEEPER_PIN PC6

#elif ENABLED(VET6_12864_LCD)

/* VET6 12864 LCD */
Expand Down

0 comments on commit 19818a9

Please sign in to comment.