Fix some possible redefinition

This commit is contained in:
Mathieu Maret 2021-02-16 21:19:20 +01:00
parent 1cd02f0fbc
commit e60b8ef8ae

View File

@ -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