diff --git a/src/modules/SX126x.cpp b/src/modules/SX126x.cpp index 16b04a1d..829d8e66 100644 --- a/src/modules/SX126x.cpp +++ b/src/modules/SX126x.cpp @@ -256,6 +256,12 @@ int16_t SX126x::receive(uint8_t* data, size_t len) { } } + // put radio to standby + state = standby(); + if(state != ERR_NONE) { + return(state); + } + // read the received data return(readData(data, len)); }