mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
L3GD20: Fix devid
This commit is contained in:
parent
6e2c43b3d9
commit
79caa30bd5
@ -1075,8 +1075,8 @@ L3GD20::measure()
|
||||
report.scaling = _gyro_range_scale;
|
||||
report.range_rad_s = _gyro_range_rad_s;
|
||||
|
||||
/* Return class instance as a surrogate device ID */
|
||||
report.device_id = _class_instance;
|
||||
/* return device ID */
|
||||
report.device_id = _device_id;
|
||||
|
||||
_reports->force(&report);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user