5611: Bump sampling frequency back up to 40 Hz from 25 Hz to help with altitude estimation

This commit is contained in:
Lorenz Meier
2016-07-31 12:20:48 +02:00
parent 0d80a77e46
commit c835fb36a6
+1 -1
View File
@@ -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"