1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-08-18 18:32:30 +02:00

Using new wrepper funktion in PageNavigation

This commit is contained in:
Norbert Walter
2026-02-28 17:04:31 +00:00
parent 1aac8fdcd9
commit 253aaa5b2e
+2 -2
View File
@@ -431,7 +431,7 @@ bool showValues = false; // Show values HDT, SOG, DBT in navigation map
lostCounter = 0; lostCounter = 0;
// Show image (navigation map) // Show image (navigation map)
getdisplay().drawBitmap(0, 25, imageData, imgWidth, imgHeight, commonData->fgcolor); displayDrawBitmap(0, 25, imageData, imgWidth, imgHeight, commonData->fgcolor);
// Clean PSRAM // Clean PSRAM
free(b64); free(b64);
@@ -454,7 +454,7 @@ bool showValues = false; // Show values HDT, SOG, DBT in navigation map
// Show backup image (backup navigation map) // Show backup image (backup navigation map)
if (hasImageBackup) { if (hasImageBackup) {
getdisplay().drawBitmap(0, 25, imageBackupData, imageBackupWidth, imageBackupHeight, commonData->fgcolor); displayDrawBitmap(0, 25, imageBackupData, imageBackupWidth, imageBackupHeight, commonData->fgcolor);
} }
// Show connection lost info when 5 page refreshes has a connection lost to the map server // Show connection lost info when 5 page refreshes has a connection lost to the map server