Benjamin Hepp / Mbed 2 deprecated AIT_UWB_Tracker

Dependencies:   DW1000 ait_link BufferedSerial mbed

Revision:
1:c070ca30da80
Parent:
0:6d63b6992cbf
Child:
4:1a2c1e5e5516
--- a/UWBProtocol/UWBProtocol.h	Fri Feb 05 13:48:52 2016 +0000
+++ b/UWBProtocol/UWBProtocol.h	Thu Feb 11 10:49:49 2016 +0000
@@ -34,7 +34,11 @@
 
     // Response delay of the ranging. This should be equal on both sides and has to be bigger than the processing time of the frame on each node.
     // For 110kbps, 2500 is OK. For 6.8Mbps, 900 is OK.
+#ifdef ANSWER_DELAY_US_OVERWRITE
+    const static int ANSWER_DELAY_US = ANSWER_DELAY_US_OVERWRITE;
+#else
     const static int ANSWER_DELAY_US = 2500;
+#endif
     const static float ANSWER_DELAY_TIMEUNITS = ANSWER_DELAY_US * DW1000::US_TO_TIMEUNITS;
 
     const static int NUM_OF_UWB_ADDRESSES = 256;