Repeater, room server, sensor, companion: a node with the RX duty cycle on no longer stops transmitting

Changelog: Repeater, room server, sensor, companion: a node with the RX duty cycle (`radio.rxps`) on no longer stops transmitting, `set radio.rxps off` takes effect at once, and a node silent for weeks keeps sending
Changelog-cs: Repeater, room server, sensor, companion: uzel se zapnutým RX duty cycle (`radio.rxps`) už nepřestane vysílat, `set radio.rxps off` platí hned a uzel, který týdny mlčel, dál vysílá
Changelog-topic: rxps-stall-46
This commit is contained in:
tth committed 2026-12-04 00:09:28 +01:00
1 parent 63823f526b
commit 9daead0089
3 files changed
+60 -3

No files matched your search

+6
View File
@@ -157,6 +157,12 @@ void Dispatcher::loop() {
next_agc_reset_time = futureMillis(getAGCResetInterval());
}
// Keep an already-elapsed next_tx_time from ageing past 2^31 ms (~24.8 days)
// during long TX silence and wrapping into the future in millisHasNowPassed().
if (millisHasNowPassed(next_tx_time)) {
next_tx_time = _ms->getMillis() - 1;
}
// check inbound (delayed) queue
{
Packet* pkt = _mgr->getNextInbound(_ms->getMillis());