From 44c549d85ad7fa9825b0df2ad3e5ffc57d222234 Mon Sep 17 00:00:00 2001 From: RaptorSDS Date: Wed, 11 Jun 2025 19:47:48 +0200 Subject: [PATCH] Update web_server.c for all ESP32 derivate --- main/web_server.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/main/web_server.c b/main/web_server.c index 8760065..508570a 100644 --- a/main/web_server.c +++ b/main/web_server.c @@ -31,7 +31,25 @@ #include #include #include + +#ifdef CONFIG_IDF_TARGET_ESP32 #include +#elif CONFIG_IDF_TARGET_ESP32C3 +#include +#elif CONFIG_IDF_TARGET_ESP32S2 +#include +#elif CONFIG_IDF_TARGET_ESP32S3 +#include +#else +#include +#endif + +//else universal +//#include + + + + #include #include #include "web_server.h"