mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-07-06 01:41:42 +02:00
tft rotation fix
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user