git.droids-corp.org
/
protos
/
xbee.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
81d7733
)
rc_proto: packed struct
author
Fabrice Desclaux
<serpilliere@droids-corp.org>
Mon, 20 Feb 2012 18:58:56 +0000
(19:58 +0100)
committer
Fabrice Desclaux
<serpilliere@droids-corp.org>
Mon, 20 Feb 2012 18:58:56 +0000
(19:58 +0100)
rc_proto.h
patch
|
blob
|
history
diff --git
a/rc_proto.h
b/rc_proto.h
index
96716d2
..
a9a826b
100644
(file)
--- 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