forked from Archive/PX4-Autopilot
drv_accel: introduce default samplerate
This commit is contained in:
parent
b42b6c50d4
commit
0e1832452f
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue