aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_mag.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2013-09-12 16:20:54 +1000
committerLorenz Meier <lm@inf.ethz.ch>2013-09-12 09:25:01 +0200
commit0b7294a26ec33f707a9b5ddeee4269552b147e8b (patch)
tree68a269f0806fec70e347ff38cbe52808ebf3040b /src/drivers/drv_mag.h
parente9e46f9c9dc1301b4218903b26dbcd58fb096895 (diff)
downloadpx4-firmware-0b7294a26ec33f707a9b5ddeee4269552b147e8b.tar.gz
px4-firmware-0b7294a26ec33f707a9b5ddeee4269552b147e8b.tar.bz2
px4-firmware-0b7294a26ec33f707a9b5ddeee4269552b147e8b.zip
added error_count field to sensor report structures
Diffstat (limited to 'src/drivers/drv_mag.h')
-rw-r--r--src/drivers/drv_mag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/drv_mag.h b/src/drivers/drv_mag.h
index 3de5625fd..06107bd3d 100644
--- a/src/drivers/drv_mag.h
+++ b/src/drivers/drv_mag.h
@@ -54,6 +54,7 @@
*/
struct mag_report {
uint64_t timestamp;
+ uint64_t error_count;
float x;
float y;
float z;