From 530b48d11898bafef655fef46beb2cb21b62caab 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 115141b29..c92ca1abb 100644
--- a/epicardium/modules/bme680.c
+++ b/epicardium/modules/bme680.c
@@ -100,7 +100,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