From ad817ab45f5dce5ddf07674fb5661de2015108b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Mart=C3=ADn?= Date: Fri, 5 Aug 2022 14:41:35 +0200 Subject: [PATCH] Fix examples --- examples/enigmaiot_led_flasher/enigmaiot_led_flasher.ino | 1 + examples/enigmaiot_node/enigmaiot_node.ino | 1 + examples/enigmaiot_node_msgpack/enigmaiot_node_msgpack.ino | 1 + examples/enigmaiot_node_nonsleepy/enigmaiot_node_nonsleepy.ino | 1 + 4 files changed, 4 insertions(+) diff --git a/examples/enigmaiot_led_flasher/enigmaiot_led_flasher.ino b/examples/enigmaiot_led_flasher/enigmaiot_led_flasher.ino index c8a6c44e..11883353 100644 --- a/examples/enigmaiot_led_flasher/enigmaiot_led_flasher.ino +++ b/examples/enigmaiot_led_flasher/enigmaiot_led_flasher.ino @@ -28,6 +28,7 @@ #include "esp_wifi.h" #include "soc/soc.h" // Disable brownout problems #include "soc/rtc_cntl_reg.h" // Disable brownout problems +#include "soc/adc_channel.h" #endif #include #include diff --git a/examples/enigmaiot_node/enigmaiot_node.ino b/examples/enigmaiot_node/enigmaiot_node.ino index baae0fd4..644e10d5 100644 --- a/examples/enigmaiot_node/enigmaiot_node.ino +++ b/examples/enigmaiot_node/enigmaiot_node.ino @@ -22,6 +22,7 @@ #include "esp_wifi.h" #include "soc/soc.h" // Disable brownout problems #include "soc/rtc_cntl_reg.h" // Disable brownout problems +#include "soc/adc_channel.h" #endif #include diff --git a/examples/enigmaiot_node_msgpack/enigmaiot_node_msgpack.ino b/examples/enigmaiot_node_msgpack/enigmaiot_node_msgpack.ino index eb73d45b..cb898063 100644 --- a/examples/enigmaiot_node_msgpack/enigmaiot_node_msgpack.ino +++ b/examples/enigmaiot_node_msgpack/enigmaiot_node_msgpack.ino @@ -28,6 +28,7 @@ #include "esp_wifi.h" #include "soc/soc.h" // Disable brownout problems #include "soc/rtc_cntl_reg.h" // Disable brownout problems +#include "soc/adc_channel.h" #endif #include #include diff --git a/examples/enigmaiot_node_nonsleepy/enigmaiot_node_nonsleepy.ino b/examples/enigmaiot_node_nonsleepy/enigmaiot_node_nonsleepy.ino index ec3013ab..07f77881 100644 --- a/examples/enigmaiot_node_nonsleepy/enigmaiot_node_nonsleepy.ino +++ b/examples/enigmaiot_node_nonsleepy/enigmaiot_node_nonsleepy.ino @@ -31,6 +31,7 @@ #include "esp_wifi.h" #include "soc/soc.h" // Disable brownout problems #include "soc/rtc_cntl_reg.h" // Disable brownout problems +#include "soc/adc_channel.h" #endif #include #include