mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +08:00
drv_gyro: introduce default samplerate
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user