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 8f3b409 commit 78c29a0Copy full SHA for 78c29a0
1 file changed
src/helpers/radiolib/RadioLibWrappers.cpp
@@ -180,7 +180,7 @@ bool RadioLibWrapper::isChannelActive() {
180
int16_t result = performChannelScan();
181
// scanChannel() leaves radio in standby — restart RX regardless of result
182
startRecv();
183
- return (result == RADIOLIB_LORA_DETECTED || result == RADIOLIB_PREAMBLE_DETECTED);
+ return result != RADIOLIB_CHANNEL_FREE;
184
}
185
186
float RadioLibWrapper::getLastRSSI() const {
0 commit comments