Skip to content

Commit

Permalink
5611: Bump sampling frequency back up to 40 Hz from 25 Hz to help wit…
Browse files Browse the repository at this point in the history
…h altitude estimation
  • Loading branch information
LorenzMeier committed Jul 31, 2016
1 parent 0d80a77 commit c835fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/ms5611/ms5611.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static const int ERROR = -1;
*/

/* internal conversion time: 9.17 ms, so should not be read at rates higher than 100 Hz */
#define MS5611_CONVERSION_INTERVAL 40000 /* microseconds */
#define MS5611_CONVERSION_INTERVAL 25000 /* microseconds */
#define MS5611_MEASUREMENT_RATIO 3 /* pressure measurements per temperature measurement */
#define MS5611_BARO_DEVICE_PATH_EXT "/dev/ms5611_ext"
#define MS5611_BARO_DEVICE_PATH_INT "/dev/ms5611_int"
Expand Down

0 comments on commit c835fb3

Please sign in to comment.