mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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…
x
Reference in New Issue
Block a user