mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Added missing fields to IST8310 mag report.
This commit is contained in:
parent
384028aa7b
commit
bbc104ad4c
@ -910,6 +910,7 @@ IST8310::collect()
|
||||
new_report.timestamp = hrt_absolute_time();
|
||||
new_report.is_external = sensor_is_external;
|
||||
new_report.error_count = perf_event_count(_comms_errors);
|
||||
new_report.range_ga = 1.6f; // constant for this sensor for x and y
|
||||
new_report.scaling = _range_scale;
|
||||
new_report.device_id = _device_id.devid;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user