diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2013-05-30 21:27:55 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2013-05-30 21:27:55 +0400 |
commit | 9952fef645a04ca3b0d86dcb7bae203f27c77a03 (patch) | |
tree | 18e5f17aefb541eb7b9862e29752094302db27a2 /src | |
parent | d6ae0461ab5c89f87ac10a2304d55a893d0f72f9 (diff) | |
download | px4-firmware-9952fef645a04ca3b0d86dcb7bae203f27c77a03.tar.gz px4-firmware-9952fef645a04ca3b0d86dcb7bae203f27c77a03.tar.bz2 px4-firmware-9952fef645a04ca3b0d86dcb7bae203f27c77a03.zip |
sdlog2 messages packing fixed, sdlog2_dump.py now produces much more compressed output.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/sdlog2/sdlog2_messages.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/sdlog2/sdlog2_messages.h b/src/modules/sdlog2/sdlog2_messages.h index 3ff597815..2baccc106 100644 --- a/src/modules/sdlog2/sdlog2_messages.h +++ b/src/modules/sdlog2/sdlog2_messages.h @@ -47,6 +47,7 @@ /* define message formats */ +#pragma pack(push, 1) /* --- TIME - TIME STAMP --- */ #define LOG_TIME_MSG 1 struct log_TIME_s { @@ -131,6 +132,7 @@ struct log_GPS_s { float cog; uint8_t vel_valid; }; +#pragma pack(pop) /* construct list of all message formats */ |