DOGM: Avoid white flash on TFT (re)init (#14631)

- Avoid white flash on TFT (re)init. Unlike Graphical LCD, the TFT init color may be full white if the backlight is on during init.

- Add a conditional for delayed backlight init which can be applied to any backlit display.
This commit is contained in:
Tanguy Pruvot authored and Scott Lahteine committed 2019-07-15 17:36:16 -05:00
1 parent 02859eb2b1
commit bae8d0a4bd
2 files changed
+20 -11

No files matched your search

+1
View File
@@ -233,6 +233,7 @@
#if ENABLED(MKS_ROBIN_TFT)
#define DOGLCD
#define IS_ULTIPANEL
#define DELAYED_BACKLIGHT_INIT
#endif
/**