aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/bma180/bma180.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/bma180/bma180.cpp')
-rw-r--r--src/drivers/bma180/bma180.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/bma180/bma180.cpp b/src/drivers/bma180/bma180.cpp
index f0044d36f..1590cc182 100644
--- a/src/drivers/bma180/bma180.cpp
+++ b/src/drivers/bma180/bma180.cpp
@@ -690,6 +690,7 @@ BMA180::measure()
* measurement flow without using the external interrupt.
*/
report.timestamp = hrt_absolute_time();
+ report.error_count = 0;
/*
* y of board is x of sensor and x of board is -y of sensor
* perform only the axis assignment here.