diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-10-06 14:17:37 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-10-06 14:17:37 +0200 |
commit | 90c4664dce0e3613e545eabb208aa5fbb02d90e9 (patch) | |
tree | 322cf10e5338bf48d30be289dc9124a9c64dbd2b /src/drivers/ms5611 | |
parent | 4ceddfdd92343277be3c6231cbd2a547e8b7bc57 (diff) | |
parent | 6a784b770e4b9dff24effc2643711c9da2b0efab (diff) | |
download | px4-firmware-90c4664dce0e3613e545eabb208aa5fbb02d90e9.tar.gz px4-firmware-90c4664dce0e3613e545eabb208aa5fbb02d90e9.tar.bz2 px4-firmware-90c4664dce0e3613e545eabb208aa5fbb02d90e9.zip |
Merged status changes
Diffstat (limited to 'src/drivers/ms5611')
-rw-r--r-- | src/drivers/ms5611/ms5611.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/ms5611/ms5611.cpp b/src/drivers/ms5611/ms5611.cpp index 1c8a4d776..938786d3f 100644 --- a/src/drivers/ms5611/ms5611.cpp +++ b/src/drivers/ms5611/ms5611.cpp @@ -573,6 +573,7 @@ MS5611::collect() struct baro_report report; /* this should be fairly close to the end of the conversion, so the best approximation of the time */ report.timestamp = hrt_absolute_time(); + report.error_count = perf_event_count(_comms_errors); /* read the most recent measurement - read offset/size are hardcoded in the interface */ ret = _interface->read(0, (void *)&raw, 0); |