From aa1e23052f883c010130ddd5614f6eb576221268 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Wed, 13 Dec 2023 14:06:13 +0100 Subject: [PATCH] Fix: compilation of "ESP32_Test.ino" fails due to non-existent function "begin". I guess the function was needed earlier in the development process but that no longer seems to be the case. Also doing some small other changes in order to get the sketch to compile. --- libraries/ESPhost/examples/ESP32_TEST/ESP32_TEST.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/ESPhost/examples/ESP32_TEST/ESP32_TEST.ino b/libraries/ESPhost/examples/ESP32_TEST/ESP32_TEST.ino index 9f45d03f8..af15d647d 100644 --- a/libraries/ESPhost/examples/ESP32_TEST/ESP32_TEST.ino +++ b/libraries/ESPhost/examples/ESP32_TEST/ESP32_TEST.ino @@ -1,6 +1,9 @@ #include "CEspControl.h" #include "CNetIf.h" #include +#include + +using namespace std; /* GPIO_LOCAL C33 - 0. P010 @@ -79,7 +82,6 @@ void setup() { CEspControl::getInstance().listenForStationDisconnectEvent(stationDisconnectionEvent); CEspControl::getInstance().listenForDisconnectionFromSoftApEvent(disconnectionFromSofApEvent); - CEspControl::getInstance().begin();