aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_gyro.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/drv_gyro.h')
-rw-r--r--src/drivers/drv_gyro.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/drv_gyro.h b/src/drivers/drv_gyro.h
index 5e0334a18..1f2bc35c4 100644
--- a/src/drivers/drv_gyro.h
+++ b/src/drivers/drv_gyro.h
@@ -93,6 +93,8 @@ ORB_DECLARE(sensor_gyro);
/** set the gyro internal sample rate to at least (arg) Hz */
#define GYROIOCSSAMPLERATE _GYROIOC(0)
+#define GYRO_SAMPLERATE_DEFAULT 1000003 /**< default sample rate */
+
/** return the gyro internal sample rate in Hz */
#define GYROIOCGSAMPLERATE _GYROIOC(1)