* basic CAD before TX, for sx126x wrappers

This commit is contained in:
Scott Powell
2025-01-21 13:37:32 +11:00
parent e838f405a7
commit de27dfacb6
5 changed files with 24 additions and 3 deletions

View File

@@ -121,7 +121,7 @@ void Dispatcher::checkRecv() {
void Dispatcher::checkSend() {
if (_mgr->getOutboundCount() == 0) return; // nothing waiting to send
if (!millisHasNowPassed(next_tx_time)) return; // still in 'radio silence' phase (from airtime budget setting)
if (_radio->isReceiving()) return; // check if radio is currently mid-receive
if (_radio->isReceiving()) return; // LBT - check if radio is currently mid-receive, or if channel activity
outbound = _mgr->getNextOutbound(_ms->getMillis());
if (outbound) {