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

@@ -20,6 +20,11 @@ public:
}
void doResetAGC() override { lr11x0ResetAGC((LR11x0 *)_radio, ((CustomLR1121 *)_radio)->getFreqMHz(), getRxBoostedGainMode()); }
bool lastRxHadCRC() override {
bool crc = true;
((CustomLR1121 *)_radio)->getLoRaRxHeaderInfo(NULL, &crc);
return crc;
}
bool isReceivingPacket() override {
return ((CustomLR1121 *)_radio)->isReceiving();
}