aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_gyro.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_gyro.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_gyro.h')
-rw-r--r--src/drivers/drv_gyro.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/drv_gyro.h b/src/drivers/drv_gyro.h
index 1d0fef6fc..fefcae50b 100644
--- a/src/drivers/drv_gyro.h
+++ b/src/drivers/drv_gyro.h
@@ -52,6 +52,7 @@
*/
struct gyro_report {
uint64_t timestamp;
+ uint64_t error_count;
float x; /**< angular velocity in the NED X board axis in rad/s */
float y; /**< angular velocity in the NED Y board axis in rad/s */
float z; /**< angular velocity in the NED Z board axis in rad/s */