* commenting out CAD detect, for now

This commit is contained in:
Scott Powell 2025-01-21 22:35:20 +11:00
parent 47567b003f
commit 6d10fab4f3
2 changed files with 4 additions and 0 deletions

View file

@ -9,9 +9,11 @@ public:
bool isReceiving() override {
if (((CustomSX1262 *)_radio)->isReceiving()) return true;
#if 0 // has BUG :-( commenting out for now
idle(); // put sx126x into standby
// do some basic CAD (blocks for ~12780 micros (on SF 10)!)
if (((CustomSX1262 *)_radio)->scanChannel() == RADIOLIB_LORA_DETECTED) return true;
#endif
return false;
}
float getLastRSSI() const override { return ((CustomSX1262 *)_radio)->getRSSI(); }

View file

@ -9,9 +9,11 @@ public:
bool isReceiving() override {
if (((CustomSX1268 *)_radio)->isReceiving()) return true;
#if 0 // has BUG :-( commenting out for now
idle(); // put sx126x into standby
// do some basic CAD (blocks for ~12780 micros (on SF 10)!)
if (((CustomSX1268 *)_radio)->scanChannel() == RADIOLIB_LORA_DETECTED) return true;
#endif
return false;
}
float getLastRSSI() const override { return ((CustomSX1268 *)_radio)->getRSSI(); }