From 8dcf7c5e4d9e510bd4d770d331993b6b9be2ca1f Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Fri, 29 Jul 2022 10:46:49 +0200 Subject: [PATCH] ESP-IDF does not def ESP32 --- src/esp32/API.cpp | 2 +- src/esp32/Firewall.cpp | 2 +- src/esp32/Storage.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/esp32/API.cpp b/src/esp32/API.cpp index 24b61af..fb940e7 100644 --- a/src/esp32/API.cpp +++ b/src/esp32/API.cpp @@ -1,4 +1,4 @@ -#ifdef ESP32 +#if !defined(ESP8266) #include "API.hpp" namespace fw diff --git a/src/esp32/Firewall.cpp b/src/esp32/Firewall.cpp index 4fac93f..457240d 100644 --- a/src/esp32/Firewall.cpp +++ b/src/esp32/Firewall.cpp @@ -1,4 +1,4 @@ -#ifdef ESP32 +#if !defined(ESP8266) #include "Firewall.hpp" namespace fw diff --git a/src/esp32/Storage.cpp b/src/esp32/Storage.cpp index dfbaf6b..ad13c89 100644 --- a/src/esp32/Storage.cpp +++ b/src/esp32/Storage.cpp @@ -1,4 +1,4 @@ -#ifdef ESP32 +#if !defined(ESP8266) #include "Storage.hpp" namespace fw