LilyGo T-Display (#406)

+ expose lvglSwapBytes setting for the St7789Display driver.
+ updated all relevant boards accordingly.
This commit is contained in:
Shadowtrance
2025-11-03 01:56:03 +10:00
committed by GitHub
parent ab2aa2c4d4
commit 0d8c0a37cc
20 changed files with 193 additions and 10 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ std::shared_ptr<EspLcdConfiguration> St7789Display::createEspLcdConfiguration(co
.backlightDutyFunction = configuration.backlightDutyFunction,
.resetPin = configuration.resetPin,
.lvglColorFormat = LV_COLOR_FORMAT_RGB565,
.lvglSwapBytes = false,
.lvglSwapBytes = configuration.lvglSwapBytes,
.rgbElementOrder = configuration.rgbElementOrder,
.bitsPerPixel = 16,
});