Tobi's ubw test branch

Dependencies:   mavlink_bridge mbed

Fork of AIT_UWB_Range by Benjamin Hepp

Revision:
60:43be9228b3b9
Parent:
58:b824bdac7cd8
--- a/MM2WayRanging/MM2WayRanging.h	Mon Jan 04 20:55:33 2016 +0000
+++ b/MM2WayRanging/MM2WayRanging.h	Tue Jan 05 08:59:30 2016 +0000
@@ -27,6 +27,10 @@
     void setInterrupt(bool enable)
     {
         dw.setInterrupt(enable, enable);
+        if (!enable)
+        {
+            dw.resetInterruptFlags();
+        }
     }
 
     //TODO: Better capsulation on those?