rc_proto: packed struct
[protos/xbee.git] / rc_proto.h
index 96716d2..a9a826b 100644 (file)
 struct rc_proto_channel {
        uint8_t type;
        int16_t axis[AXIS_NUMBER];
-};
+} __attribute__((packed));
 
 struct rc_proto_range {
        uint8_t type;
        uint8_t power_level;
-};
+} __attribute__((packed));
 
 
 #endif