aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/drv_gyro.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2012-11-15 15:13:27 +0100
committerLorenz Meier <lm@inf.ethz.ch>2012-11-15 15:13:27 +0100
commit5020a0a06329c5b5c314df42ac003def7a1a316e (patch)
tree3af4bf8055ef2f96d6c39f78428f339454c5f5f4 /apps/drivers/drv_gyro.h
parent68346fbfeb1603dae6737fae8d21f74659b52823 (diff)
downloadpx4-firmware-5020a0a06329c5b5c314df42ac003def7a1a316e.tar.gz
px4-firmware-5020a0a06329c5b5c314df42ac003def7a1a316e.tar.bz2
px4-firmware-5020a0a06329c5b5c314df42ac003def7a1a316e.zip
Addes sensor self test commands
Diffstat (limited to 'apps/drivers/drv_gyro.h')
-rw-r--r--apps/drivers/drv_gyro.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/drivers/drv_gyro.h b/apps/drivers/drv_gyro.h
index 0dbf05c5b..1d0fef6fc 100644
--- a/apps/drivers/drv_gyro.h
+++ b/apps/drivers/drv_gyro.h
@@ -111,4 +111,7 @@ ORB_DECLARE(sensor_gyro);
/** get the current gyro measurement range in degrees per second */
#define GYROIOCGRANGE _GYROIOC(7)
+/** check the status of the sensor */
+#define GYROIOCSELFTEST _GYROIOC(8)
+
#endif /* _DRV_GYRO_H */