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

Black background for unused area

This commit is contained in:
Norbert Walter
2026-03-01 16:26:13 +00:00
parent 9cfa9ccf67
commit 44b318ea0c
+1
View File
@@ -494,6 +494,7 @@ inline void displayFirstPage() {
inline void displayNextPage() { inline void displayNextPage() {
#ifdef DISPLAY_ST7796 #ifdef DISPLAY_ST7796
if (initDisplayShadowBuffer()) { if (initDisplayShadowBuffer()) {
getpaneldisplay().fillRect(0, 0, 480, 320, GxEPD_BLACK);
getdisplay().pushSprite(0, 0); getdisplay().pushSprite(0, 0);
} }
#else #else