1

Revision:
16:34de2ab7eb32
Parent:
15:e1c04ec39aa4
Child:
17:5f34cbe2ac53
--- a/radio_sx127x.cpp	Wed Sep 11 13:23:37 2019 -0700
+++ b/radio_sx127x.cpp	Wed Oct 30 12:50:54 2019 -0700
@@ -435,8 +435,10 @@
 void Radio::service()
 {
     if (pinEvent.dio0) {
-        dio0UserContext();
-        pinEvent.txing = 0;
+        if (radio.dio0.read()) {
+            dio0UserContext();
+            pinEvent.txing = 0;
+        }
         pinEvent.dio0 = 0;
     } else if (radio.dio0.read()) {
         /* fail: missed interrupt */