minor update of comments in code

This commit is contained in:
mverch67
2025-02-25 10:50:40 +01:00
parent fadf8c9da4
commit ca0df7e66e
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -9,8 +9,12 @@
#include <unordered_map>
/**
* Size independent map for x/y/z raster tiles
* Size independent map panel for x/y/z raster tiles
* Draws the tiles and objects to the provided lvgl panel.
* Stores three positions:
* - home
* - GPS (current)
* - scrolled (manual)
*/
class MapPanel
{
+1 -1
View File
@@ -250,7 +250,7 @@ void MapPanel::scroll(int16_t deltaX, int16_t deltaY, uint16_t fraction)
tilesY++;
}
} else {
ILOG_ERROR("scroll: start tile %d/%d", xStart, yStart);
ILOG_ERROR("scroll: start tile %d/%d missing", xStart, yStart);
return;
}
// check if scrolling requires new tiles at the ending row or column