mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 17:33:34 +08:00
drivers: report error_count in drivers where possible
This commit is contained in:
committed by
Lorenz Meier
parent
c9b8a019ea
commit
4893509344
@@ -1186,7 +1186,7 @@ MPU6000::measure()
|
||||
* Adjust and scale results to m/s^2.
|
||||
*/
|
||||
grb.timestamp = arb.timestamp = hrt_absolute_time();
|
||||
|
||||
grb.error_count = arb.error_count = 0; // not reported
|
||||
|
||||
/*
|
||||
* 1) Scale raw value to SI units using scaling from datasheet.
|
||||
|
||||
Reference in New Issue
Block a user