Skip to content

Commit 4bb059c

Browse files
committed
[mavproxy] Add fields_updated to highres_imu pack func
1 parent bc62208 commit 4bb059c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/task/comm/task_comm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ bool mavlink_msg_highres_imu_pack_func(mavlink_message_t* msg_t)
497497
highres_imu.diff_pressure = airspeed_data.diff_pressure_pa * 1000; /* Pa to mPa */
498498
highres_imu.pressure_alt = baro_data.altitude_m;
499499
highres_imu.temperature = baro_data.temperature_deg;
500+
highres_imu.fields_updated = 0x1FFF;
500501

501502
mavlink_msg_highres_imu_encode(mavlink_system.sysid, mavlink_system.compid, msg_t, &highres_imu);
502503

0 commit comments

Comments
 (0)