diff --git a/lib/obp60task/OBP60Extensions.h b/lib/obp60task/OBP60Extensions.h index 1332f46..db86a46 100644 --- a/lib/obp60task/OBP60Extensions.h +++ b/lib/obp60task/OBP60Extensions.h @@ -494,7 +494,6 @@ inline void displayFirstPage() { inline void displayNextPage() { #ifdef DISPLAY_ST7796 if (initDisplayShadowBuffer()) { - getpaneldisplay().fillRect(0, 0, 480, 320, GxEPD_BLACK); getdisplay().pushSprite(0, 0); } #else diff --git a/lib/obp60task/obp60task.cpp b/lib/obp60task/obp60task.cpp index 6509020..9758c87 100644 --- a/lib/obp60task/obp60task.cpp +++ b/lib/obp60task/obp60task.cpp @@ -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