mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 12:54:06 +08:00
drivers/l3gd20: Populate device ID in sensor topic
This commit is contained in:
parent
9014443d77
commit
14e2ea78b3
@ -1075,6 +1075,9 @@ L3GD20::measure()
|
||||
report.scaling = _gyro_range_scale;
|
||||
report.range_rad_s = _gyro_range_rad_s;
|
||||
|
||||
/* TODO return unique hardware ID */
|
||||
report.device_id = 0;
|
||||
|
||||
_reports->force(&report);
|
||||
|
||||
if (gyro_notify) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user