Browse Source

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

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

8
src/helpers/ui/ST7789LCDDisplay.cpp

@ -27,12 +27,6 @@ bool ST7789LCDDisplay::begin() {
pinMode(PIN_TFT_LEDA_CTL, OUTPUT);
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.
#if defined(LILYGO_TDECK) || defined(HELTEC_LORA_V4_TFT)
@ -166,4 +160,4 @@ uint16_t ST7789LCDDisplay::getTextWidth(const char* str) {
void ST7789LCDDisplay::endFrame() {
// display.display();
}
}

Loading…
Cancel
Save