mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 09:41:35 +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.scaling = _gyro_range_scale;
|
||||||
report.range_rad_s = _gyro_range_rad_s;
|
report.range_rad_s = _gyro_range_rad_s;
|
||||||
|
|
||||||
|
/* TODO return unique hardware ID */
|
||||||
|
report.device_id = 0;
|
||||||
|
|
||||||
_reports->force(&report);
|
_reports->force(&report);
|
||||||
|
|
||||||
if (gyro_notify) {
|
if (gyro_notify) {
|
||||||
|
|||||||
Reference in New Issue
Block a user