NO_LCD_REINIT for FSMC (or, no SD_DETECT_PIN)

This commit is contained in:
Scott Lahteine 2020-04-09 14:25:16 -05:00
parent 43a994e0df
commit 859ccd2e28
6 changed files with 4 additions and 8 deletions

View File

@ -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
*/ */

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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)