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