* commenting out CAD detect, for now
This commit is contained in:
@@ -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(); }
|
||||
|
||||
@@ -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(); }
|
||||
|
||||
Reference in New Issue
Block a user