fix some text in docs and comments

This commit is contained in:
liquidraver
2026-07-04 16:47:46 +02:00
parent 2f370285d0
commit 000f6ed494
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ ZephCore-only divergence from Arduino MeshCore (like the Adaptive Contention Win
| Room server | forward-only | post timestamps feed client `sync_since` ordering |
| Companion | forward-only | own clock stamps outgoing DMs; peers hold per-sender replay high-water marks |
**Step application**: the shared policy (GPS gate, forward-only skip, uint32-overflow guard, set clock, one `zephcore_rtc_save` per step — never per evaluation) lives in `MeshTimeSync::runTick()`; when it returns true, the role shifts its wall-clock-anchored bookkeeping by `lastStepDelta()` — repeater: neighbor `heard_timestamp`s, ACL `last_activity`, login/anon/discover rate-limiter resets; room server: ACL + login limiter.
**Step application**: the shared policy (suppression/pedigree checks inside `evaluateNow`, forward-only skip, uint32-overflow guard, set clock, one `zephcore_rtc_save` per step — never per evaluation) lives in `MeshTimeSync::runTick()`; when it returns true, the role shifts its wall-clock-anchored bookkeeping by `lastStepDelta()` — repeater: neighbor `heard_timestamp`s, ACL `last_activity`, login/anon/discover rate-limiter resets; room server: ACL + login limiter.
All policy timers (6 h rate limit, 7-day suppression, tenure, sample age) anchor on **uptime, never wall clock** — otherwise the very steps they govern would distort them.
+2 -2
View File
@@ -353,8 +353,8 @@ void CompanionMesh::onAdvertTimeSample(const mesh::Identity &id, uint32_t timest
void CompanionMesh::timeSyncTick()
{
if (!prefs.meshtimesync) return;
/* Shared policy (GPS fix-freshness gate, forward-only) lives in
* runTick; no companion-side bookkeeping needs shifting on a step. */
/* Shared policy (suppression/pedigree, forward-only) lives in runTick;
* no companion-side bookkeeping needs shifting on a step. */
_timesync.runTick(*getRTCClock());
}
+1 -1
View File
@@ -267,7 +267,7 @@ void ObserverMesh::harvestTimeSample(Packet *pkt)
void ObserverMesh::timeSyncTick()
{
if (!_prefs.meshtimesync || !_rtc) return;
/* Shared policy (GPS fix-freshness gate) lives in runTick; no
/* Shared policy (suppression/pedigree) lives in runTick; no
* observer-side bookkeeping needs shifting on a step. */
_timesync.runTick(*_rtc);
}