Merged status changes

This commit is contained in:
Lorenz Meier
2013-10-06 14:17:37 +02:00
21 changed files with 230 additions and 64 deletions
+1
View File
@@ -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);