From 06f94a2ee77f0951cd61ba84bae0b1a367a4bad1 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Tue, 28 Nov 2023 23:10:50 +0100 Subject: [PATCH] SCD4X is disabled by default --- WifiControlSensor/config_device.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/WifiControlSensor/config_device.h b/WifiControlSensor/config_device.h index 06eea5b..c30bc78 100644 --- a/WifiControlSensor/config_device.h +++ b/WifiControlSensor/config_device.h @@ -35,7 +35,10 @@ //#define CONFIG_ENABLE_DRY_SENSOR //If the dry sensor is powered by a GPIO, this GPIO could be defined here //#define CONFIG_DRY_POWER_PIN 13 -#define CONFIG_ENABLE_SCD4X + +//Advised CONFIG_SAMPLING_PERIOD_MS is 5s for this sensor +//#define CONFIG_ENABLE_SCD4X + // Enable light sleep to save some power (http://bbs.espressif.com/viewtopic.php?f=6&t=133&p=485&hilit=sleep+modem#p485) #define CONFIG_ENABLE_POWER_SAVE