From 054a9dbc515eace5bad477d743992c4ca2660cf8 Mon Sep 17 00:00:00 2001 From: KlausMu Date: Sun, 24 Mar 2024 12:59:07 +0100 Subject: [PATCH] wait only 5 ms instead of 100 ms for LCD driver to power on --- Platformio/hardware/ESP32/tft_hal_esp32.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Platformio/hardware/ESP32/tft_hal_esp32.cpp b/Platformio/hardware/ESP32/tft_hal_esp32.cpp index 9317e9e..6e44e76 100644 --- a/Platformio/hardware/ESP32/tft_hal_esp32.cpp +++ b/Platformio/hardware/ESP32/tft_hal_esp32.cpp @@ -61,7 +61,8 @@ void init_tft(void) { digitalWrite(LCD_EN_GPIO, LOW); #endif - delay(100); // Wait for the LCD driver to power on + // https://github.com/CoretechR/OMOTE/issues/70#issuecomment-2016763291 + delay(5); // Wait for the LCD driver to power on tft.init(); tft.initDMA(); tft.setRotation(0);