Checks for CR10_STOCKDISPLAY with Creality v4 (#19019)
This commit is contained in:
		| @@ -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 */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user