Skip to content
Snippets Groups Projects
Commit d12421b9 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

BMI055: Ensure gyro device ID gets copied to report

parent 49b1bd59
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ BMI055_gyro::probe()
return OK;
}
DEVICE_DEBUG("unexpected whoami 0x%02x", _whoami);
PX4_ERR("unexpected whoami 0x%02x", _whoami);
return -EIO;
}
......@@ -768,6 +768,7 @@ BMI055_gyro::measure()
grb.temperature_raw = report.temp;
grb.temperature = _last_temperature;
grb.device_id = _device_id.devid;
_gyro_reports->force(&grb);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment