radiolib: drop received packets whose LoRa header says no CRC.

This commit is contained in:
R0ck committed 2026-10-30 14:05:25 +00:00
1 parent 351a1ad20c
commit 93254adbca
9 files changed
+39

No files matched your search

@@ -23,6 +23,11 @@ public:
((CustomSX1268 *)_radio)->setMaxPayloadMillis(pm.payloadMillis);
}
bool lastRxHadCRC() override {
bool crc = true;
((CustomSX1268 *)_radio)->getLoRaRxHeaderInfo(NULL, &crc);
return crc;
}
bool isReceivingPacket() override {
return ((CustomSX1268 *)_radio)->isReceiving();
}