mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Oversampling rate for MPL3115A2 pressure sensor (#11332)
As reported by @LeoMustafaNXP in https://github.com/PX4/Firmware/issues/11296
This commit is contained in:
parent
22fe083666
commit
53a127beb9
@ -97,7 +97,7 @@ enum MPL3115A2_BUS {
|
||||
*/
|
||||
|
||||
#define MPL3115A2_CONVERSION_INTERVAL 10000 /* microseconds */
|
||||
#define MPL3115A2_OSR 0 /* Over Sample rate of 1 6MS Minimum time between data samples */
|
||||
#define MPL3115A2_OSR 2 /* Over Sample rate of 4 18MS Minimum time between data samples */
|
||||
#define MPL3115A2_CTRL_TRIGGER (CTRL_REG1_OST | CTRL_REG1_OS(MPL3115A2_OSR))
|
||||
#define MPL3115A2_BARO_DEVICE_PATH_EXT "/dev/mpl3115a2_ext"
|
||||
#define MPL3115A2_BARO_DEVICE_PATH_INT "/dev/mpl3115a2_int"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user