* Dispatcher::checkSend() bug: getOutboundCount() should only count non-future packets

Этот коммит содержится в:
Scott Powell
2025-05-14 16:50:11 +10:00
родитель a56e9ef62f
Коммит e291b57a07
6 изменённых файлов: 17 добавлений и 7 удалений
+1 -1
Просмотреть файл
@@ -205,7 +205,7 @@ void Dispatcher::processRecvPacket(Packet* pkt) {
}
void Dispatcher::checkSend() {
if (_mgr->getOutboundCount() == 0) return; // nothing waiting to send
if (_mgr->getOutboundCount(_ms->getMillis()) == 0) return; // nothing waiting to send
if (!millisHasNowPassed(next_tx_time)) return; // still in 'radio silence' phase (from airtime budget setting)
if (_radio->isReceiving()) { // LBT - check if radio is currently mid-receive, or if channel activity
if (cad_busy_start == 0) {