mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 10:51:57 +00:00
feat(status): the path hash size on Status > Radio (L2: Diag > Radio)
Bytes per repeater in a path we send (Settings > Radio > Advanced), next to the TX power. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -130,6 +130,10 @@ private:
|
||||
}
|
||||
snprintf(a, sizeof(a), "%d dBm", (int)radio_driver.getTxPower());
|
||||
row(d, f, rsv, "TX power", a);
|
||||
// Bytes per repeater in a path we send (Settings > Radio > Advanced).
|
||||
const unsigned hb = p ? p->path_hash_mode + 1u : 1u;
|
||||
snprintf(a, sizeof(a), "%u byte%s", hb, hb > 1 ? "s" : "");
|
||||
row(d, f, rsv, "Path hash", a);
|
||||
const int nf = (int)radio_driver.getNoiseFloor();
|
||||
if (nf) snprintf(a, sizeof(a), "%d dBm", nf); else strcpy(a, "-");
|
||||
if (Features::IS_EINK) {
|
||||
|
||||
Reference in New Issue
Block a user