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:
2023-10-23 21:40:38 +01:00
parent 92949ea84d
commit c91a8fc729

View File

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