Got the KConfig stuff to work
I didn't quite realise I needed to #include sdkconfig.h I thought they were injected as -D flags for ... no reason really
This commit is contained in:
1 parent
92949ea84d
commit
c91a8fc729
1 file changed
+1
@@ -1,4 +1,5 @@
|
|||||||
#include "dht22.h"
|
#include "dht22.h"
|
||||||
|
#include "sdkconfig.h"
|
||||||
|
|
||||||
#define DATA_GPIO CONFIG_DHT22_DATA_GPIO
|
#define DATA_GPIO CONFIG_DHT22_DATA_GPIO
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user