mirror of
https://github.com/m5stack/meshtastic-device-ui.git
synced 2026-05-20 11:51:03 -07:00
minor update of comments in code
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user