From 7b13bfc404acf8e6b30a302afde4cf2b6eb72132 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Mon, 13 Sep 2021 14:12:41 +0200 Subject: [PATCH] Fix DAC on ESP32C3 --- tasmota/xdrv_52_3_berry_gpio.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/xdrv_52_3_berry_gpio.ino b/tasmota/xdrv_52_3_berry_gpio.ino index 3672e341e..62a41db41 100644 --- a/tasmota/xdrv_52_3_berry_gpio.ino +++ b/tasmota/xdrv_52_3_berry_gpio.ino @@ -22,7 +22,9 @@ #include +#if defined(CONFIG_IDF_TARGET_ESP32) || defined(CONFIG_IDF_TARGET_ESP32S2) #include +#endif /*********************************************************************************************\ * Native functions mapped to Berry functions *