mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 03:41:35 +08:00
BMI055: Ensure the accel driver sets the device ID in the report
This commit is contained in:
@@ -800,6 +800,7 @@ BMI055_accel::measure()
|
|||||||
|
|
||||||
arb.temperature_raw = report.temp;
|
arb.temperature_raw = report.temp;
|
||||||
arb.temperature = _last_temperature;
|
arb.temperature = _last_temperature;
|
||||||
|
arb.device_id = _device_id.devid;
|
||||||
|
|
||||||
_accel_reports->force(&arb);
|
_accel_reports->force(&arb);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user