radiolib: drop received packets whose LoRa header says no CRC.
This commit is contained in:
1 parent
351a1ad20c
commit
93254adbca
9 files changed
+39
No files matched your search
@@ -81,6 +81,11 @@ public:
|
||||
return tSym;
|
||||
}
|
||||
|
||||
bool lastRxHadCRC() override {
|
||||
bool crc = true;
|
||||
((CustomLR2021 *)_radio)->getLoRaRxHeaderInfo(NULL, &crc);
|
||||
return crc;
|
||||
}
|
||||
bool isReceivingPacket() override {
|
||||
return ((CustomLR2021 *)_radio)->isReceiving();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user