]> git.tnoah.ca Git - lora-radio.git/commitdiff
Fix split packet issue on some boards with SX1280 configured #13
authorjacob.eva <x00010@disroot.org>
Fri, 6 Dec 2024 14:16:55 +0000 (14:16 +0000)
committerjacob.eva <x00010@disroot.org>
Fri, 6 Dec 2024 14:16:55 +0000 (14:16 +0000)
Radio.cpp

index 8d4c79f5f18122e27a1360431cf082eabf782694..8ffe276260dfe064612a50825b380596990be76e 100644 (file)
--- a/Radio.cpp
+++ b/Radio.cpp
@@ -102,7 +102,7 @@ void ISR_VECT onDio0Rise() {
             if (interface_obj[i]->getPacketValidity()) {
                 interface_obj[i]->handleDio0Rise();
             }
-            if (interfaces[i] == SX128X) {
+            if ((interfaces[i] == SX128X) || (interfaces[i] == SX1280)) {
                 // On the SX1280, there is a bug which can cause the busy line
                 // to remain high if a high amount of packets are received when
                 // in continuous RX mode. This is documented as Errata 16.1 in