mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
sdlog2: fixed wrong memset
This commit is contained in:
parent
94aaf0d298
commit
2b95b3dff1
@ -1108,7 +1108,7 @@ int sdlog2_thread_main(int argc, char *argv[])
|
||||
memset(&buf_gps_pos, 0, sizeof(buf_gps_pos));
|
||||
|
||||
struct vehicle_command_s buf_cmd;
|
||||
memset(&buf_status, 0, sizeof(buf_cmd));
|
||||
memset(&buf_cmd, 0, sizeof(buf_cmd));
|
||||
|
||||
// check if we are gathering data for a replay log for ekf2
|
||||
// is yes then disable logging of some topics to avoid dropouts
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user