Tobi's ubw test branch

Dependencies:   mavlink_bridge mbed

Fork of AIT_UWB_Range by Benjamin Hepp

Revision:
43:d89fe237a684
Parent:
41:0a3bb028d4ba
--- a/MMRanging/MMRanging.cpp	Mon Mar 02 09:33:03 2015 +0000
+++ b/MMRanging/MMRanging.cpp	Thu Mar 05 10:26:51 2015 +0000
@@ -4,8 +4,10 @@
     event_i = 0;
     counter = 0;
     dw.setCallbacks(this, &MMRanging::callbackRX, &MMRanging::callbackTX);
-    for (int i = 0; i < 10; i++)
+    for (int i = 0; i < 10; i++) {
         acknowledgement[i] = true;
+        distances[i] = -1;
+    }
     LocalTimer.start();
     dw.startRX();
 }