bmp280: disable device filter

It looks like the BMP280 was heavily filtered, leading to a step
response of around 3 seconds. Comparing it to baro logs of BMP388 and
MS5611, it looks very slow.

I therefore suggest to disable the on device IIR filter which makes the
log data look more like the other baros.
This commit is contained in:
Julian Oes
2024-11-20 13:20:54 +13:00
committed by Daniel Agar
parent 3f83a8fa7a
commit 7c507f136c
+1 -1
View File
@@ -67,7 +67,7 @@ BMP280::init()
// set config, recommended settings
_interface->set_reg(_curr_ctrl, BMP280_ADDR_CTRL);
_interface->set_reg(BMP280_CONFIG_F16, BMP280_ADDR_CONFIG);
_interface->set_reg(BMP280_CONFIG_F0, BMP280_ADDR_CONFIG);
// get calibration and pre process them
_cal = _interface->get_calibration(BMP280_ADDR_CAL);