* commenting out CAD detect, for now

这个提交包含在:
Scott Powell
2025-01-21 22:35:20 +11:00
父节点 47567b003f
当前提交 6d10fab4f3
修改 2 个文件,包含 4 行新增0 行删除
+2
查看文件
@@ -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(); }
+2
查看文件
@@ -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(); }