[LoRaWAN] Added rx start assert
This commit is contained in:
parent
3b62c88a2e
commit
2c9446ef1e
1 changed files with 1 additions and 0 deletions
|
@ -1174,6 +1174,7 @@ int16_t LoRaWANNode::downlinkCommon() {
|
||||||
|
|
||||||
// open Rx window by starting receive with specified timeout
|
// open Rx window by starting receive with specified timeout
|
||||||
state = this->phyLayer->startReceive(timeoutMod, irqFlags, irqMask, 0);
|
state = this->phyLayer->startReceive(timeoutMod, irqFlags, irqMask, 0);
|
||||||
|
RADIOLIB_ASSERT(state);
|
||||||
RADIOLIB_DEBUG_PROTOCOL_PRINTLN("Opening Rx%d window (%d us timeout)... <-- Rx Delay end ", i+1, (int)timeoutHost);
|
RADIOLIB_DEBUG_PROTOCOL_PRINTLN("Opening Rx%d window (%d us timeout)... <-- Rx Delay end ", i+1, (int)timeoutHost);
|
||||||
|
|
||||||
// wait for the timeout to complete (and a small additional delay)
|
// wait for the timeout to complete (and a small additional delay)
|
||||||
|
|
Loading…
Add table
Reference in a new issue