drv_gyro: introduce default samplerate

This commit is contained in:
Thomas Gubler
2015-01-28 19:13:30 +01:00
parent 0e1832452f
commit e2524b9aed
+2
View File
@@ -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)