mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 23:08:11 +00:00
The MAP page status line only ever measured distance to the nearest live-tracked ([LOC]-sharing) contact, ignoring the active Locator/Nav target entirely. A waypoint target isn't a live-tracked contact at all, so after "Set as target" on a waypoint its flag drew fine on the mini-map but the status line below it never showed how far away it was. statusDistanceKm() (renamed from nearestTrackedKm()) now checks activeTargetPos() first — covers both waypoint and person targets — and only falls back to the nearest live-tracked contact when no target is set. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>