mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 11:53:34 +08:00
fixing the logging of trigger information
This commit is contained in:
committed by
Lorenz Meier
parent
7abb699bc4
commit
e695af2100
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user