Fix and improve FYSETC LCD support (#13767)
This commit is contained in:
@@ -138,6 +138,8 @@
|
||||
#elif ENABLED(MKS_MINI_12864)
|
||||
|
||||
#define MINIPANEL
|
||||
#define DEFAULT_LCD_CONTRAST 150
|
||||
#define LCD_CONTRAST_MAX 255
|
||||
|
||||
#elif ENABLED(FYSETC_MINI_12864)
|
||||
|
||||
@@ -153,7 +155,9 @@
|
||||
#if EITHER(MAKRPANEL, MINIPANEL)
|
||||
#define DOGLCD
|
||||
#define ULTIPANEL
|
||||
#define DEFAULT_LCD_CONTRAST 17
|
||||
#ifndef DEFAULT_LCD_CONTRAST
|
||||
#define DEFAULT_LCD_CONTRAST 17
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ENABLED(ULTI_CONTROLLER)
|
||||
|
@@ -1786,13 +1786,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
||||
#error "Please select no more than one LCD controller option."
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Fysetc Mini 12864 requirements
|
||||
*/
|
||||
#if ENABLED(FYSETC_MINI_12864) && DISABLED(LED_USER_PRESET_STARTUP)
|
||||
#error "FYSETC_MINI_12864 requires LED_USER_PRESET_STARTUP to enable the backlight on startup."
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Check existing CS pins against enabled TMC SPI drivers.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user