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
@@ -20,6 +20,11 @@ public:
|
||||
|
||||
}
|
||||
|
||||
bool lastRxHadCRC() override {
|
||||
bool crc = true;
|
||||
((CustomLLCC68 *)_radio)->getLoRaRxHeaderInfo(NULL, &crc);
|
||||
return crc;
|
||||
}
|
||||
bool isReceivingPacket() override {
|
||||
return ((CustomLLCC68 *)_radio)->isReceiving();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user