mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-05-18 14:05:59 +00:00
* Dispatcher::checkSend() bug: getOutboundCount() should only count non-future packets
This commit is contained in:
+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) {
|
||||
|
||||
Reference in New Issue
Block a user