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

Fix black background

This commit is contained in:
Norbert Walter
2026-03-01 16:36:20 +00:00
parent 44b318ea0c
commit 8cd193f2fc
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -391,7 +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
getpaneldisplay().fillScreen(0x0000); // Initialize full TFT screen to black (native RGB565)
#else
getdisplay().setRotation(0); // Set display orientation (horizontal)
#endif