|
|
@ -65,13 +65,13 @@ if (lcd_id != 0xFFFFFFFF) return; |
|
|
|
#if PIN_EXISTS(TFT_RESET) |
|
|
|
OUT_WRITE(TFT_RESET_PIN, HIGH); |
|
|
|
delay(10); |
|
|
|
OUT_WRITE(TFT_RESET_PIN, LOW); |
|
|
|
WRITE(TFT_RESET_PIN, LOW); |
|
|
|
delay(10); |
|
|
|
OUT_WRITE(TFT_RESET_PIN, HIGH); |
|
|
|
WRITE(TFT_RESET_PIN, HIGH); |
|
|
|
#endif |
|
|
|
|
|
|
|
#if PIN_EXISTS(TFT_BACKLIGHT) |
|
|
|
OUT_WRITE(TFT_BACKLIGHT_PIN, DISABLED(DELAYED_BACKLIGHT_INIT)); |
|
|
|
WRITE(TFT_BACKLIGHT_PIN, DISABLED(DELAYED_BACKLIGHT_INIT)); |
|
|
|
#endif |
|
|
|
|
|
|
|
// io.Init();
|
|
|
@ -149,7 +149,7 @@ if (lcd_id != 0xFFFFFFFF) return; |
|
|
|
#endif |
|
|
|
|
|
|
|
#if PIN_EXISTS(TFT_BACKLIGHT) && ENABLED(DELAYED_BACKLIGHT_INIT) |
|
|
|
OUT_WRITE(TFT_BACKLIGHT_PIN, HIGH); |
|
|
|
WRITE(TFT_BACKLIGHT_PIN, HIGH); |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|