mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-08-18 10:22:31 +02:00
Add 4 inch TFT display ST7796
This commit is contained in:
@@ -229,7 +229,7 @@ public:
|
||||
uint16_t y0 = 48; // data table starts here
|
||||
|
||||
// Set display in partial refresh mode
|
||||
getdisplay().setPartialWindow(0, 0, getdisplay().width(), getdisplay().height()); // Set partial update
|
||||
displaySetPartialWindow(0, 0, getdisplay().width(), getdisplay().height()); // Set partial update
|
||||
|
||||
if (mode == 'N') {
|
||||
|
||||
@@ -550,7 +550,7 @@ public:
|
||||
}
|
||||
|
||||
// Update display
|
||||
getdisplay().nextPage(); // Partial update (fast)
|
||||
displayNextPage(); // Partial update (fast)
|
||||
return PAGE_OK;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user