kopia lustrzana https://github.com/jgromes/RadioLib
[SX126x] Add missing state assert (#1561)
rodzic
c588031628
commit
d05dbf07d1
|
@ -616,6 +616,7 @@ int16_t SX126x::startReceiveCommon(uint32_t timeout, RadioLibIrqFlags_t irqFlags
|
|||
|
||||
// clear interrupt flags
|
||||
state = clearIrqStatus();
|
||||
RADIOLIB_ASSERT(state);
|
||||
|
||||
// restore original packet length
|
||||
uint8_t modem = getPacketType();
|
||||
|
|
Ładowanie…
Reference in New Issue