Fix some possible redefinition
This commit is contained in:
parent
1cd02f0fbc
commit
e60b8ef8ae
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user