aboutsummaryrefslogtreecommitdiff
path: root/src/modules/sdlog2/sdlog2_format.h
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2013-05-28 19:02:16 +0400
committerAnton Babushkin <anton.babushkin@me.com>2013-05-28 19:02:16 +0400
commit7e95edbbe848ec49ee81dbd85dc8c91558a83aa8 (patch)
tree452f335ccbad986161ddf8ab822a003f2230bb68 /src/modules/sdlog2/sdlog2_format.h
parent8dbda512897b3d2a05d39ebc26aba35b86ce044d (diff)
downloadpx4-firmware-7e95edbbe848ec49ee81dbd85dc8c91558a83aa8.tar.gz
px4-firmware-7e95edbbe848ec49ee81dbd85dc8c91558a83aa8.tar.bz2
px4-firmware-7e95edbbe848ec49ee81dbd85dc8c91558a83aa8.zip
New messages added to sdlog2
Diffstat (limited to 'src/modules/sdlog2/sdlog2_format.h')
-rw-r--r--src/modules/sdlog2/sdlog2_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sdlog2/sdlog2_format.h b/src/modules/sdlog2/sdlog2_format.h
index bbf8b6f12..59b91d90d 100644
--- a/src/modules/sdlog2/sdlog2_format.h
+++ b/src/modules/sdlog2/sdlog2_format.h
@@ -93,6 +93,6 @@ struct log_format_s {
#define LOG_FORMAT_MSG 0x80
-#define LOG_PACKET_SIZE(_name) LOG_PACKET_HEADER_LEN + sizeof(log_msg.body.log_##_name)
+#define LOG_PACKET_SIZE(_name) LOG_PACKET_HEADER_LEN + sizeof(struct log_##_name##_s)
#endif /* SDLOG2_FORMAT_H_ */