NO_LCD_REINIT for FSMC (or, no SD_DETECT_PIN)
This commit is contained in:
parent
43a994e0df
commit
859ccd2e28
|
@ -374,6 +374,10 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if EITHER(LCD_USE_DMA_FSMC, FSMC_GRAPHICAL_TFT) || !PIN_EXISTS(SD_DETECT)
|
||||||
|
#define NO_LCD_REINIT 1 // Suppress LCD re-initialization
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set defaults for missing (newer) options
|
* Set defaults for missing (newer) options
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -118,7 +118,6 @@
|
||||||
#define LCD_PIXEL_OFFSET_Y 48
|
#define LCD_PIXEL_OFFSET_Y 48
|
||||||
|
|
||||||
#define LCD_RESET_PIN PF11
|
#define LCD_RESET_PIN PF11
|
||||||
#define NO_LCD_REINIT
|
|
||||||
#define LCD_BACKLIGHT_PIN PD13
|
#define LCD_BACKLIGHT_PIN PD13
|
||||||
#define FSMC_CS_PIN PD7
|
#define FSMC_CS_PIN PD7
|
||||||
#define FSMC_RS_PIN PD11
|
#define FSMC_RS_PIN PD11
|
||||||
|
|
|
@ -123,7 +123,6 @@
|
||||||
#define LCD_PIXEL_OFFSET_Y 48
|
#define LCD_PIXEL_OFFSET_Y 48
|
||||||
|
|
||||||
#define LCD_RESET_PIN PF11
|
#define LCD_RESET_PIN PF11
|
||||||
#define NO_LCD_REINIT
|
|
||||||
#define LCD_BACKLIGHT_PIN PD13
|
#define LCD_BACKLIGHT_PIN PD13
|
||||||
#define FSMC_CS_PIN PD7
|
#define FSMC_CS_PIN PD7
|
||||||
#define FSMC_RS_PIN PD11
|
#define FSMC_RS_PIN PD11
|
||||||
|
|
|
@ -126,8 +126,6 @@
|
||||||
#define FSMC_RS_PIN PD11 // A0
|
#define FSMC_RS_PIN PD11 // A0
|
||||||
|
|
||||||
#define LCD_RESET_PIN PC6
|
#define LCD_RESET_PIN PC6
|
||||||
#define NO_LCD_REINIT // Suppress LCD re-initialization
|
|
||||||
|
|
||||||
#define LCD_BACKLIGHT_PIN PD13
|
#define LCD_BACKLIGHT_PIN PD13
|
||||||
|
|
||||||
#if ENABLED(TOUCH_BUTTONS)
|
#if ENABLED(TOUCH_BUTTONS)
|
||||||
|
|
|
@ -246,8 +246,6 @@
|
||||||
#define FSMC_RS_PIN PD11 // A0
|
#define FSMC_RS_PIN PD11 // A0
|
||||||
|
|
||||||
#define LCD_RESET_PIN PC6 // FSMC_RST
|
#define LCD_RESET_PIN PC6 // FSMC_RST
|
||||||
#define NO_LCD_REINIT // Suppress LCD re-initialization
|
|
||||||
|
|
||||||
#define LCD_BACKLIGHT_PIN PD13
|
#define LCD_BACKLIGHT_PIN PD13
|
||||||
|
|
||||||
#if ENABLED(TOUCH_BUTTONS)
|
#if ENABLED(TOUCH_BUTTONS)
|
||||||
|
|
|
@ -219,8 +219,6 @@
|
||||||
#define FSMC_RS_PIN PD11 // A0
|
#define FSMC_RS_PIN PD11 // A0
|
||||||
|
|
||||||
#define LCD_RESET_PIN PF6
|
#define LCD_RESET_PIN PF6
|
||||||
#define NO_LCD_REINIT // Suppress LCD re-initialization
|
|
||||||
|
|
||||||
#define LCD_BACKLIGHT_PIN PD13
|
#define LCD_BACKLIGHT_PIN PD13
|
||||||
|
|
||||||
#if ENABLED(TOUCH_BUTTONS)
|
#if ENABLED(TOUCH_BUTTONS)
|
||||||
|
|
Loading…
Reference in a new issue