Browse Source

NO_LCD_REINIT for FSMC (or, no SD_DETECT_PIN)

Scott Lahteine 5 years ago
parent
commit
859ccd2e28

+ 4
- 0
Marlin/src/inc/Conditionals_post.h View File

@@ -374,6 +374,10 @@
374 374
 
375 375
 #endif
376 376
 
377
+#if EITHER(LCD_USE_DMA_FSMC, FSMC_GRAPHICAL_TFT) || !PIN_EXISTS(SD_DETECT)
378
+  #define NO_LCD_REINIT 1  // Suppress LCD re-initialization
379
+#endif
380
+
377 381
 /**
378 382
  * Set defaults for missing (newer) options
379 383
  */

+ 0
- 1
Marlin/src/pins/stm32f1/pins_CHITU3D_V5.h View File

@@ -118,7 +118,6 @@
118 118
   #define LCD_PIXEL_OFFSET_Y 48
119 119
 
120 120
   #define LCD_RESET_PIN                     PF11
121
-  #define NO_LCD_REINIT
122 121
   #define LCD_BACKLIGHT_PIN                 PD13
123 122
   #define FSMC_CS_PIN                       PD7
124 123
   #define FSMC_RS_PIN                       PD11

+ 0
- 1
Marlin/src/pins/stm32f1/pins_CHITU3D_V6.h View File

@@ -123,7 +123,6 @@
123 123
   #define LCD_PIXEL_OFFSET_Y 48
124 124
 
125 125
   #define LCD_RESET_PIN                     PF11
126
-  #define NO_LCD_REINIT
127 126
   #define LCD_BACKLIGHT_PIN                 PD13
128 127
   #define FSMC_CS_PIN                       PD7
129 128
   #define FSMC_RS_PIN                       PD11

+ 0
- 2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_MINI.h View File

@@ -126,8 +126,6 @@
126 126
   #define FSMC_RS_PIN                       PD11  // A0
127 127
 
128 128
   #define LCD_RESET_PIN                     PC6
129
-  #define NO_LCD_REINIT                           // Suppress LCD re-initialization
130
-
131 129
   #define LCD_BACKLIGHT_PIN                 PD13
132 130
 
133 131
   #if ENABLED(TOUCH_BUTTONS)

+ 0
- 2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h View File

@@ -246,8 +246,6 @@
246 246
   #define FSMC_RS_PIN                       PD11  // A0
247 247
 
248 248
   #define LCD_RESET_PIN                     PC6   // FSMC_RST
249
-  #define NO_LCD_REINIT                           // Suppress LCD re-initialization
250
-
251 249
   #define LCD_BACKLIGHT_PIN                 PD13
252 250
 
253 251
   #if ENABLED(TOUCH_BUTTONS)

+ 0
- 2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_PRO.h View File

@@ -219,8 +219,6 @@
219 219
   #define FSMC_RS_PIN                       PD11  // A0
220 220
 
221 221
   #define LCD_RESET_PIN                     PF6
222
-  #define NO_LCD_REINIT                           // Suppress LCD re-initialization
223
-
224 222
   #define LCD_BACKLIGHT_PIN                 PD13
225 223
 
226 224
   #if ENABLED(TOUCH_BUTTONS)

Loading…
Cancel
Save