1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-08-18 18:32:30 +02:00
This commit is contained in:
Norbert Walter
2026-03-13 20:57:51 +00:00
parent f165c628ae
commit a7cdfe700b
+1 -2
View File
@@ -485,7 +485,6 @@ bool showValues = false; // Show values HDT, SOG, DBT in navigation map
memcpy(b64, b64src, b64len + 1); // Copy Base64 content in PSRAM
// Set image buffer in PSRAM
//size_t imgSize = getdisplay().width() * getdisplay().height();
size_t imgSize = (numPix > 0) ? (size_t)numPix : requiredBytesMono; // Calculate image size
if (imgSize < requiredBytesMono){
imgSize = requiredBytesMono;
@@ -538,7 +537,7 @@ bool showValues = false; // Show values HDT, SOG, DBT in navigation map
}
#endif
// Copy actual navigation man to ackup map
// Copy actual navigation map to backup map
imageBackupWidth = imgWidth;
imageBackupHeight = imgHeight;
imageBackupSize = imgSize;