diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-04-03 11:46:21 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-04-03 11:46:21 +0400 |
commit | 2c4792d48ee98cf46d9f9cf8ec43a759d6cc15d0 (patch) | |
tree | 093e5c34ac3ee91c25d7dccb52fa37e7ddfbfb3c /src/modules/sdlog2/sdlog2.c | |
parent | 367ce63b86b863d72a3f6b4250d9da780a85f40b (diff) | |
download | px4-firmware-2c4792d48ee98cf46d9f9cf8ec43a759d6cc15d0.tar.gz px4-firmware-2c4792d48ee98cf46d9f9cf8ec43a759d6cc15d0.tar.bz2 px4-firmware-2c4792d48ee98cf46d9f9cf8ec43a759d6cc15d0.zip |
sdlog2: added 'signal_lost' logging
Diffstat (limited to 'src/modules/sdlog2/sdlog2.c')
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index 13981ac54..112a4bd3e 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -1176,6 +1176,7 @@ int sdlog2_thread_main(int argc, char *argv[]) /* Copy only the first 8 channels of 14 */ memcpy(log_msg.body.log_RC.channel, buf.rc.chan, sizeof(log_msg.body.log_RC.channel)); log_msg.body.log_RC.channel_count = buf.rc.chan_count; + log_msg.body.log_RC.signal_lost = buf.rc.signal_lost; LOGBUFFER_WRITE_AND_COUNT(RC); } |