Browse Source

Merge pull request #2475 from uwl-cpe-2025/fix/ST7789-reset-timing

Do not perform redundant reset on ST7789 displays
pull/2020/merge
ripplebiz 2 months ago
committed by GitHub
parent
commit
00afb06768
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      src/helpers/ui/ST7789LCDDisplay.cpp

6
src/helpers/ui/ST7789LCDDisplay.cpp

@ -27,12 +27,6 @@ bool ST7789LCDDisplay::begin() {
pinMode(PIN_TFT_LEDA_CTL, OUTPUT); pinMode(PIN_TFT_LEDA_CTL, OUTPUT);
digitalWrite(PIN_TFT_LEDA_CTL, HIGH); digitalWrite(PIN_TFT_LEDA_CTL, HIGH);
} }
if (PIN_TFT_RST != -1) {
pinMode(PIN_TFT_RST, OUTPUT);
digitalWrite(PIN_TFT_RST, LOW);
delay(10);
digitalWrite(PIN_TFT_RST, HIGH);
}
// Im not sure if this is just a t-deck problem or not, if your display is slow try this. // Im not sure if this is just a t-deck problem or not, if your display is slow try this.
#if defined(LILYGO_TDECK) || defined(HELTEC_LORA_V4_TFT) #if defined(LILYGO_TDECK) || defined(HELTEC_LORA_V4_TFT)

Loading…
Cancel
Save