]> git.tnoah.ca Git - lora-radio.git/commitdiff
Fix edge case of potential packet duplication
authorjacob.eva <x00010@disroot.org>
Tue, 22 Oct 2024 13:07:23 +0000 (14:07 +0100)
committerjacob.eva <x00010@disroot.org>
Tue, 22 Oct 2024 13:07:23 +0000 (14:07 +0100)
Radio.cpp

index f1d7b043b13f1a2730a0ff11fc70c5901e5e44d0..964edae505f675a6bf5f9171de00dce0f3a6af04 100644 (file)
--- a/Radio.cpp
+++ b/Radio.cpp
@@ -110,6 +110,7 @@ void ISR_VECT onDio0Rise() {
                 // Therefore, the modem is set into receive mode each time a packet is received.
                 interface_obj[i]->receive();
             }
+            break;
         }
     }
     taskEXIT_CRITICAL_FROM_ISR(int_status);