Tobi's ubw test branch

Dependencies:   mavlink_bridge mbed

Fork of AIT_UWB_Range by Benjamin Hepp

Revision:
47:b6120c152ad1
Parent:
46:6398237672a0
Child:
48:5999e510f154
--- a/MM2WayRanging/MM2WayRanging.h	Tue Mar 10 12:11:13 2015 +0000
+++ b/MM2WayRanging/MM2WayRanging.h	Thu Mar 19 12:54:28 2015 +0000
@@ -68,6 +68,8 @@
         DISTANCES_FRAME
     };
 
+    //the packed attribute makes sure the types only use their respective size in memory (8 bit for uint8_t), otherwise they would always use 32 bit
+    //IT IS A GCC SPECIFIC DIRECTIVE
     struct __attribute__((packed, aligned(1))) RangingFrame {
         uint8_t source;
         uint8_t destination;