Skip to content

Commit c835fb3

Browse files
committed
5611: Bump sampling frequency back up to 40 Hz from 25 Hz to help with altitude estimation
1 parent 0d80a77 commit c835fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/drivers/ms5611/ms5611.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static const int ERROR = -1;
104104
*/
105105

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

0 commit comments

Comments
 (0)