mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 13:03:33 +08:00
drivers: report error_count in drivers where possible
This commit is contained in:
committed by
Lorenz Meier
parent
c9b8a019ea
commit
4893509344
@@ -1252,6 +1252,7 @@ LSM303D::measure()
|
||||
|
||||
|
||||
accel_report.timestamp = hrt_absolute_time();
|
||||
accel_report.error_count = 0; // not reported
|
||||
|
||||
accel_report.x_raw = raw_accel_report.x;
|
||||
accel_report.y_raw = raw_accel_report.y;
|
||||
|
||||
Reference in New Issue
Block a user