All nRF52 images: the node's time no longer jumps 4.5 h ahead
tth-docs / site (push) Successful in 20s
pub-release / release (push) Successful in 20m49s

Changelog-cs: Všechny nRF52 obrazy: čas uzlu už neposkočí o 4,5 h dopředu (oprava obsluhy tiku v Adafruit core; uptime, airtime i hodiny skákaly o 16 384 s)
Changelog: All nRF52 images: the node's time no longer jumps 4.5 h ahead (tick handler fix in the Adafruit core; uptime, airtime and the clock jumped 16384 s)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-12-02 11:41:00 +01:00
1 parent 021df7116a
commit a6487bc4c2
2 files changed
+22 -4

No files matched your search

+14
View File
@@ -135,6 +135,13 @@ Repeater navíc:
* Šířka path hashe se bere z nastavení uzlu na všech cestách vysílání včetně
`sendZeroHop`; výchozí jsou 2bajtové path hashe (`PATH_HASH_MODE_DEFAULT`).
* Nepovedené vysílání se zařadí znovu s odstupem, místo aby se zahodilo.
* **Čas nRF52 uzlu už neposkočí o 4,5 h dopředu.** Obsluha tiku FreeRTOS
v Adafruit core přičetla 2^24 tiků naráz, když byl počet tiků byť o jeden
před 24bitovým RTC: `millis()`, uptime, airtime a hodiny uzlu skočily
o 16 384 s, někdy několikrát za pár minut, a uzel posílal adverty s časem
až o 18 h napřed. Framework je proto náš fork
[tth-pub/Adafruit_nRF52_Arduino](https://git.rfa.cz/tth-pub/Adafruit_nRF52_Arduino)
(meshcore-dev + tahle oprava).
* RSSI každého paketu se zaznamená při příjmu; `ContactInfo` se před
částečným vyplněním vynuluje.
@@ -462,6 +469,13 @@ The repeater also has:
* Path-hash width comes from the node's prefs on every TX path, including
`sendZeroHop`; 2-byte path hashes are the default (`PATH_HASH_MODE_DEFAULT`).
* Failed transmits are re-queued with backoff instead of dropped.
* **An nRF52 node's time no longer jumps 4.5 h ahead.** The FreeRTOS tick
handler of the Adafruit core added 2^24 ticks at once when the tick count
was even one tick ahead of the 24-bit RTC: `millis()`, uptime, airtime and
the node's clock jumped 16384 s, sometimes several times within minutes, and
the node sent adverts dated up to 18 h ahead. The framework is therefore our
fork [tth-pub/Adafruit_nRF52_Arduino](https://git.rfa.cz/tth-pub/Adafruit_nRF52_Arduino)
(meshcore-dev + this fix).
* Per-packet RSSI captured at RX; `ContactInfo` zeroed before a partial fill.
### Power, clock, GPS