mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-06 04:40:35 +08:00
sdlog2: remove duplicate orb_copy
This commit is contained in:
@@ -1526,7 +1526,6 @@ int sdlog2_thread_main(int argc, char *argv[])
|
||||
orb_copy(ORB_ID(ekf2_replay), subs.replay_sub, &buf.replay);
|
||||
}
|
||||
|
||||
orb_copy(ORB_ID(ekf2_replay), subs.replay_sub, &buf.replay);
|
||||
log_msg.msg_type = LOG_RPL1_MSG;
|
||||
log_msg.body.log_RPL1.time_ref = buf.replay.time_ref;
|
||||
log_msg.body.log_RPL1.gyro_integral_dt = buf.replay.gyro_integral_dt;
|
||||
|
||||
Reference in New Issue
Block a user