Skip to content

Commit

Permalink
Oversampling rate for MPL3115A2 pressure sensor (#11332)
Browse files Browse the repository at this point in the history
As reported by @LeoMustafaNXP in #11296
  • Loading branch information
David Sidrane authored and dagar committed Jan 29, 2019
1 parent 22fe083 commit 53a127b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/barometer/mpl3115a2/mpl3115a2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 53a127b

Please sign in to comment.