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
2019-07-16 00:36:16 +02:00
committed by Scott Lahteine
parent 02859eb2b1
commit bae8d0a4bd
2 changed files with 20 additions and 11 deletions

View File

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