X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee.git;a=blobdiff_plain;f=rc_proto.h;fp=rc_proto.h;h=a9a826b28935806fa442f66ac4034bfb9d6cfec2;hp=96716d296f67e5476a5387bb467485f5ebbbc2ac;hb=1a8d6b735037f76863f79d910fb9464d7926a6ec;hpb=81d77338ee91c21ceedfc79461b2d051dd2696e9 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