1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 15:03:07 +01:00

Preparation for upcoming alarm functionality

This commit is contained in:
2025-07-23 14:00:06 +02:00
parent ccc0d2b6c1
commit 0afe629b38
29 changed files with 191 additions and 108 deletions

View File

@@ -65,7 +65,7 @@ class PageXTETrack : public Page
return key;
}
virtual void displayPage(PageData &pageData){
int displayPage(PageData &pageData){
GwConfigHandler *config = commonData->config;
GwLog *logger = commonData->logger;
@@ -207,9 +207,7 @@ class PageXTETrack : public Page
drawSegment(399, 100, 318, 24, 289, 24, 350, 100, commonData->fgcolor, seg[4]);
drawSegment(399, 54, 354, 24, 325, 24, 399, 90, commonData->fgcolor, seg[5]);
// Update display
getdisplay().nextPage(); // Partial update (fast)
return PAGE_UPDATE;
};
};