1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-08-18 10:22:31 +02:00

Start TFT with black background

This commit is contained in:
Norbert Walter
2026-03-01 16:15:02 +00:00
parent 762004ac9f
commit 9cfa9ccf67
+1
View File
@@ -391,6 +391,7 @@ void OBP60Task(GwApi *api){
#ifdef DISPLAY_ST7796
getpaneldisplay().setRotation(0); // Set display orientation (horizontal)
getpaneldisplay().fillRect(0, 0, 480, 320, GxEPD_BLACK); // Initialize full TFT screen to black
#else
getdisplay().setRotation(0); // Set display orientation (horizontal)
#endif