We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f36d80 commit 75da5d5Copy full SHA for 75da5d5
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