mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +08:00
drivers/l3gd20: Populate device ID in sensor topic
This commit is contained in:
committed by
Lorenz Meier
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) {
|
||||
|
||||
Reference in New Issue
Block a user