From 80c1ee5289695ac85f67836397a1bb36cebd017d Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Tue, 27 Feb 2024 22:45:18 +0200 Subject: [PATCH] update read_sensor_data.rs example --- examples/read_sensor_data.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/read_sensor_data.rs b/examples/read_sensor_data.rs index 280ce59..c8b5c3e 100644 --- a/examples/read_sensor_data.rs +++ b/examples/read_sensor_data.rs @@ -23,8 +23,7 @@ fn main() -> Result<(), Bme680Error> { .with_pressure_oversampling(OversamplingSetting::OS4x) .with_temperature_oversampling(OversamplingSetting::OS8x) .with_temperature_filter(IIRFilterSize::Size3) - .with_gas_measurement(Duration::from_millis(1500), 320, 25) - .with_temperature_offset(-2.2) + .with_gas_measurement(Duration::from_millis(1500), 320, 23) .with_run_gas(true) .build();