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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user