[LoRaWAN] Added rx start assert

This commit is contained in:
jgromes 2024-05-08 14:50:34 +02:00
parent 3b62c88a2e
commit 2c9446ef1e

View file

@ -1174,6 +1174,7 @@ int16_t LoRaWANNode::downlinkCommon() {
// open Rx window by starting receive with specified timeout
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);
// wait for the timeout to complete (and a small additional delay)