Tobi's ubw test branch

Dependencies:   mavlink_bridge mbed

Fork of AIT_UWB_Range by Benjamin Hepp

Revision:
67:bd0f0580af5a
Parent:
58:b824bdac7cd8
--- a/MM2WayRanging/MM2WayRanging.cpp	Tue Jan 05 10:16:21 2016 +0000
+++ b/MM2WayRanging/MM2WayRanging.cpp	Tue Jan 05 17:06:19 2016 +0000
@@ -149,9 +149,9 @@
         return;
     }
 
-    dw.setInterrupt(true, true);
+    //dw.setInterrupt(true, true);
 //    pc.printf("Request range %d\r\n", remote_address);
-    dw.enable_irq();
+    //dw.enable_irq();
     
     dw.startRX(); 
 ////    pc.printf("Enabled IRQ %d\r\n", remote_address);
@@ -173,8 +173,8 @@
         distances[remote_address] = -1;
     }
     dw.stopTRX();
-    dw.disable_irq();
-    dw.setInterrupt(false, false);
+    //dw.disable_irq();
+    //dw.setInterrupt(false, false);
 }
 
 inline float MM2WayRanging::calibratedDistance(uint8_t remote_address) {