Use current rx status is CAD for sx126x

pull/42/head
sh123 2021-11-20 15:03:21 +02:00
rodzic b390575ba9
commit 589d4d4103
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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
}