diff options
author | Andrew Tridgell <tridge@samba.org> | 2013-09-12 16:21:59 +1000 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-12 09:26:49 +0200 |
commit | 4893509344f9304060dabc8a9ecad28fe891dcf8 (patch) | |
tree | 6dd11e99adba8f4163a7a4274181a9ca85fd755c /src/drivers/bma180 | |
parent | c9b8a019eaae6ee7daf11835602059199369544e (diff) | |
download | px4-firmware-4893509344f9304060dabc8a9ecad28fe891dcf8.tar.gz px4-firmware-4893509344f9304060dabc8a9ecad28fe891dcf8.tar.bz2 px4-firmware-4893509344f9304060dabc8a9ecad28fe891dcf8.zip |
drivers: report error_count in drivers where possible
Diffstat (limited to 'src/drivers/bma180')
-rw-r--r-- | src/drivers/bma180/bma180.cpp | 1 |
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. |