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 a1230bf commit 214a0a0Copy full SHA for 214a0a0
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