fixing the logging of trigger information

This commit is contained in:
Andreas Bircher
2016-02-27 11:41:57 +01:00
committed by Lorenz Meier
parent 7abb699bc4
commit e695af2100
2 changed files with 1 additions and 3 deletions
-1
View File
@@ -1943,7 +1943,6 @@ int sdlog2_thread_main(int argc, char *argv[])
/* --- CAMERA TRIGGER --- */
if (copy_if_updated(ORB_ID(camera_trigger), &subs.cam_trig_sub, &buf.camera_trigger)) {
log_msg.msg_type = LOG_CAMT_MSG;
log_msg.body.log_CAMT.timestamp = buf.camera_trigger.timestamp;
log_msg.body.log_CAMT.seq = buf.camera_trigger.seq;
LOGBUFFER_WRITE_AND_COUNT(CAMT);
}