From e60b8ef8aec020661d166e44fa5f194fabd218d9 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Tue, 16 Feb 2021 21:19:20 +0100 Subject: [PATCH] Fix some possible redefinition --- WifiControlSensor/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WifiControlSensor/config.h b/WifiControlSensor/config.h index a2515bc..fcd13a9 100644 --- a/WifiControlSensor/config.h +++ b/WifiControlSensor/config.h @@ -35,7 +35,7 @@ #if defined(CONFIG_ENABLE_DHT) && !defined(CONFIG_DHT_PIN) #error "When enabling DHT, you should configure SDA pin" -#elif !defined(CONFIG_ENABLE_DHT) +#elif !defined(CONFIG_ENABLE_DHT) && !defined(CONFIG_DHT_PIN) #define CONFIG_DHT_PIN 0 #endif