Skip to content
Snippets Groups Projects
Commit e2524b9a authored by Thomas Gubler's avatar Thomas Gubler
Browse files

drv_gyro: introduce default samplerate

parent 0e183245
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment