mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
The "(N)" origin readout printed the raw wire path_len. That byte packs the path hash-size mode in its top 2 bits and the hop count in the low 6, so with path_hash_mode >= 1 (2-byte hashes) it over-reported — e.g. "(66)" for a 2-hop message. Mask & 63 (getPathHashCount) so it shows the real hop count. Affects the ui-orig variants only (ui-new/ui-tiny ignore the arg). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>