From 1a316942ec951f47b08c12ffaeca760bac0ddd87 Mon Sep 17 00:00:00 2001 From: cziter15 Date: Thu, 19 Sep 2024 13:00:20 +0200 Subject: [PATCH] Fix webserver issue --- src/ksf/comp/ksDevicePortal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ksf/comp/ksDevicePortal.cpp b/src/ksf/comp/ksDevicePortal.cpp index fce0083..963aaa0 100644 --- a/src/ksf/comp/ksDevicePortal.cpp +++ b/src/ksf/comp/ksDevicePortal.cpp @@ -13,7 +13,7 @@ #include #if defined(ESP32) || defined(ESP8266) - #if ESP8266 + #if defined(ESP8266) #define HARDWARE "ESP8266" #include "flash_hal.h" @@ -24,7 +24,7 @@ uint8_t ESP_getFlashVendor() { return ESP.getFlashChipVendorId(); } uint32_t ESP_getFlashSizeKB() { return ESP.getFlashChipRealSize()/1024; } - #elif ESP32 + #elif defined(ESP32) #define HARDWARE "ESP32" #include