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

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