mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 13:16:45 +00:00
Fix rotation bug
This commit is contained in:
parent
1b300c7a50
commit
3c82013834
@ -298,7 +298,7 @@ void guiSetup(JsonObject settings)
|
|||||||
#endif
|
#endif
|
||||||
tftSetup(tft, settings[F("tft")]);
|
tftSetup(tft, settings[F("tft")]);
|
||||||
|
|
||||||
// tft.setRotation(guiRotation); /* 1/3=Landscape or 0/2=Portrait orientation */
|
tft.setRotation(guiRotation); /* 1/3=Landscape or 0/2=Portrait orientation */
|
||||||
lv_init();
|
lv_init();
|
||||||
|
|
||||||
#if defined(ARDUINO_ARCH_ESP32)
|
#if defined(ARDUINO_ARCH_ESP32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user