From 0e1832452fdbba0ecc3de944bbc25c2eb9c2f313 Mon Sep 17 00:00:00 2001 From: Thomas Gubler Date: Wed, 28 Jan 2015 19:13:03 +0100 Subject: [PATCH] drv_accel: introduce default samplerate --- src/drivers/drv_accel.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/drv_accel.h b/src/drivers/drv_accel.h index 1eca6155b0..52e024c91e 100644 --- a/src/drivers/drv_accel.h +++ b/src/drivers/drv_accel.h @@ -97,6 +97,8 @@ ORB_DECLARE(sensor_accel); /** set the accel internal sample rate to at least (arg) Hz */ #define ACCELIOCSSAMPLERATE _ACCELIOC(0) +#define ACCEL_SAMPLERATE_DEFAULT 1000003 /**< default sample rate */ + /** return the accel internal sample rate in Hz */ #define ACCELIOCGSAMPLERATE _ACCELIOC(1)