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,4 +1,5 @@
|
||||
#include "dht22.h"
|
||||
#include "sdkconfig.h"
|
||||
|
||||
#define DATA_GPIO CONFIG_DHT22_DATA_GPIO
|
||||
|
||||
|
||||
Reference in New Issue
Block a user