From 589d4d4103d2f1bc221a8d4eab44555160f71c25 Mon Sep 17 00:00:00 2001 From: sh123 Date: Sat, 20 Nov 2021 15:03:21 +0200 Subject: [PATCH] Use current rx status is CAD for sx126x --- loraprs_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loraprs_service.cpp b/loraprs_service.cpp index e6d6f47..ca8a5ac 100644 --- a/loraprs_service.cpp +++ b/loraprs_service.cpp @@ -351,7 +351,7 @@ bool Service::isLoraRxBusy() { #if defined(USE_RADIOLIB) && !defined(USE_SX126X) return config_.LoraUseCad && (radio_->getModemStatus() & 0x01); // SX1278_STATUS_SIG_DETECT #else - return false; + return loraDataAvailable_; #endif }