From f82a74e476083b03fe3fdc81bc1d5e56a19ccc15 Mon Sep 17 00:00:00 2001 From: schneider <schneider@blinkenlichts.net> Date: Sun, 6 Dec 2020 00:31:22 +0100 Subject: [PATCH] change(bme680): Don't use an internal IIR filter This makes the behaviour of the BME680 more predictable when measuring in an irregular interval. --- epicardium/modules/bme680.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epicardium/modules/bme680.c b/epicardium/modules/bme680.c index 31d925bd2..8504f1d9b 100644 --- a/epicardium/modules/bme680.c +++ b/epicardium/modules/bme680.c @@ -74,7 +74,7 @@ int epic_bme680_init() bme.tph_sett.os_hum = BME680_OS_2X; bme.tph_sett.os_pres = BME680_OS_4X; bme.tph_sett.os_temp = BME680_OS_8X; - bme.tph_sett.filter = BME680_FILTER_SIZE_3; + bme.tph_sett.filter = BME680_FILTER_SIZE_0; /* Set the remaining gas sensor settings and link the heating profile */ bme.gas_sett.run_gas = BME680_ENABLE_GAS_MEAS; -- GitLab