Browse Source
Also return busy if preamble detected
pull/1727/head
Wessel Nieboer
4 months ago
committed by
Wessel Nieboer
No known key found for this signature in database
GPG Key ID: 929C8E45E33B5FD2
1 changed files with
1 additions and
1 deletions
-
src/helpers/radiolib/RadioLibWrappers.cpp
|
|
|
@ -188,7 +188,7 @@ bool RadioLibWrapper::isChannelActive() { |
|
|
|
int16_t result = performChannelScan(); |
|
|
|
// scanChannel() leaves radio in standby — restart RX regardless of result
|
|
|
|
startRecv(); |
|
|
|
return (result == RADIOLIB_LORA_DETECTED); |
|
|
|
return (result == RADIOLIB_LORA_DETECTED || result == RADIOLIB_PREAMBLE_DETECTED); |
|
|
|
} |
|
|
|
|
|
|
|
float RadioLibWrapper::getLastRSSI() const { |
|
|
|
|