mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-02 11:15:35 -04:00
RadioLib's startChannel returns LORA_DETECTED for SX126x and SX128x (#2293)
This commit is contained in:
1 parent
f8498ba03f
commit
83e6cea280
2 files changed
+2
-2
No files matched your search
@@ -222,7 +222,7 @@ template <typename T> bool SX128xInterface<T>::isChannelActive()
|
||||
|
||||
setStandby();
|
||||
result = lora.scanChannel();
|
||||
if (result == RADIOLIB_PREAMBLE_DETECTED)
|
||||
if (result == RADIOLIB_LORA_DETECTED)
|
||||
return true;
|
||||
|
||||
assert(result != RADIOLIB_ERR_WRONG_MODEM);
|
||||
|
||||
Reference in new issue
Block a user