mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-08-18 18:32:30 +02:00
Fix for display flicker by display refresh
This commit is contained in:
@@ -839,7 +839,9 @@ void OBP60Task(GwApi *api){
|
|||||||
|
|
||||||
// Clear display
|
// Clear display
|
||||||
// getdisplay().fillRect(0, 0, getdisplay().width(), getdisplay().height(), commonData.bgcolor);
|
// getdisplay().fillRect(0, 0, getdisplay().width(), getdisplay().height(), commonData.bgcolor);
|
||||||
|
#ifndef DISPLAY_ST7796
|
||||||
getdisplay().fillScreen(commonData.bgcolor); // Clear display
|
getdisplay().fillScreen(commonData.bgcolor); // Clear display
|
||||||
|
#endif
|
||||||
|
|
||||||
// Show header if enabled
|
// Show header if enabled
|
||||||
if (pages[pageNumber].description && pages[pageNumber].description->header or systemPage){
|
if (pages[pageNumber].description && pages[pageNumber].description->header or systemPage){
|
||||||
|
|||||||
Reference in New Issue
Block a user