From c91a8fc7296c1e87716d5bd5d4cf91511348e3f3 Mon Sep 17 00:00:00 2001 From: Arthur Roberts Date: Mon, 23 Oct 2023 21:40:38 +0100 Subject: [PATCH] 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 --- components/dht22/dht22.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/dht22/dht22.c b/components/dht22/dht22.c index 7581f24..862cf18 100644 --- a/components/dht22/dht22.c +++ b/components/dht22/dht22.c @@ -1,4 +1,5 @@ #include "dht22.h" +#include "sdkconfig.h" #define DATA_GPIO CONFIG_DHT22_DATA_GPIO