aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/protocol.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-02-12 09:31:43 +0100
committerLorenz Meier <lm@inf.ethz.ch>2013-02-12 09:31:43 +0100
commit01ada7f74f38f84fd19b74313c21f3dd13ca420d (patch)
treede818964317b8232f51973760e5524b4576854a5 /apps/px4io/protocol.h
parent857fe5d405312508439a91493802e58e547d7940 (diff)
downloadpx4-firmware-01ada7f74f38f84fd19b74313c21f3dd13ca420d.tar.gz
px4-firmware-01ada7f74f38f84fd19b74313c21f3dd13ca420d.tar.bz2
px4-firmware-01ada7f74f38f84fd19b74313c21f3dd13ca420d.zip
Fixed mixer transmission between FMU and IO
Diffstat (limited to 'apps/px4io/protocol.h')
-rw-r--r--apps/px4io/protocol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/px4io/protocol.h b/apps/px4io/protocol.h
index 54f2fa27c..6278e05d4 100644
--- a/apps/px4io/protocol.h
+++ b/apps/px4io/protocol.h
@@ -181,6 +181,7 @@
* This message adds text to the mixer text buffer; the text
* buffer is drained as the definitions are consumed.
*/
+#pragma pack(push, 1)
struct px4io_mixdata {
uint16_t f2i_mixer_magic;
#define F2I_MIXER_MAGIC 0x6d74
@@ -191,4 +192,5 @@ struct px4io_mixdata {
char text[0]; /* actual text size may vary */
};
+#pragma pack(pop)