X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee.git;a=blobdiff_plain;f=rc_proto.h;h=a9a826b28935806fa442f66ac4034bfb9d6cfec2;hp=96716d296f67e5476a5387bb467485f5ebbbc2ac;hb=9fdf7fa123e328a13ade691f4b724a187ee39a85;hpb=735209cdbe2c6d67c8473e17cdce0ac9496c42d1 diff --git a/rc_proto.h b/rc_proto.h index 96716d2..a9a826b 100644 --- a/rc_proto.h +++ b/rc_proto.h @@ -39,12 +39,12 @@ 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