sdlog2: added 'signal_lost' logging

This commit is contained in:
Anton Babushkin
2014-04-03 11:46:21 +04:00
parent 367ce63b86
commit 2c4792d48e
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -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);
}