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