We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fc7dba commit bc39bccCopy full SHA for bc39bcc
1 file changed
src/helpers/radiolib/RadioLibWrappers.cpp
@@ -167,7 +167,7 @@ bool RadioLibWrapper::isChannelActive() {
167
int16_t result = performChannelScan();
168
// scanChannel() leaves radio in standby — restart RX regardless of result
169
startRecv();
170
- return (result == RADIOLIB_LORA_DETECTED || result == RADIOLIB_PREAMBLE_DETECTED);
+ return result != RADIOLIB_CHANNEL_FREE;
171
}
172
173
float RadioLibWrapper::getLastRSSI() const {
0 commit comments