From 9a6981fb705f36cc85f24e735ed7bbd8cf007102 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Tue, 16 Apr 2024 16:41:49 +0200 Subject: [PATCH] debug test --- libraries/WiFi/src/WiFi.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/libraries/WiFi/src/WiFi.cpp b/libraries/WiFi/src/WiFi.cpp index f299cb175e0..65619b60ec3 100644 --- a/libraries/WiFi/src/WiFi.cpp +++ b/libraries/WiFi/src/WiFi.cpp @@ -41,6 +41,21 @@ extern "C" { // ---------------------------------------------------------- Debug ------------------------------------------------------ // ----------------------------------------------------------------------------------------------------------------------- +#if CONFIG_IDF_TARGET_ESP32 +static uint32_t __test1 = 0; +static uint32_t __test2 = 0; +static uint32_t __test3 = 0; +static uint32_t __test4 = 0; +static uint32_t __test5 = 0; +#elif CONFIG_IDF_TARGET_ESP32S2 +static uint8_t __test1 = 0; +static uint8_t __test2 = 0; +static uint8_t __test3 = 0; +#elif CONFIG_IDF_TARGET_ESP32C6 +static uint8_t __test1 = 0; +#elif CONFIG_IDF_TARGET_ESP32S3 +static uint32_t __test1 = 0; +#endif /** * Output WiFi settings to an object derived from Print interface (like Serial).