tft rotation fix

This commit is contained in:
richonguzman
2024-05-12 22:57:45 -04:00
parent cc976a4a4a
commit d9af677f69
+5 -1
View File
@@ -41,7 +41,11 @@ void setup_display() {
#ifdef HAS_TFT
tft.init();
tft.begin();
tft.setRotation(1);
if (Config.display.turn180) {
tft.setRotation(3);
} else {
tft.setRotation(1);
}
tft.setTextFont(0);
tft.fillScreen(TFT_BLACK);
#else