mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 07:03:33 +08:00
L3GD20: Fix devid
This commit is contained in:
@@ -1075,8 +1075,8 @@ 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;
|
||||||
|
|
||||||
/* Return class instance as a surrogate device ID */
|
/* return device ID */
|
||||||
report.device_id = _class_instance;
|
report.device_id = _device_id;
|
||||||
|
|
||||||
_reports->force(&report);
|
_reports->force(&report);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user