Fix rotation bug

This commit is contained in:
fvanroie 2020-03-26 00:00:12 +01:00
parent 1b300c7a50
commit 3c82013834

View File

@ -298,7 +298,7 @@ void guiSetup(JsonObject settings)
#endif
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();
#if defined(ARDUINO_ARCH_ESP32)