From 771db6a0e60ff28a84368bf66e5d2cabe9301592 Mon Sep 17 00:00:00 2001 From: cziter15 Date: Thu, 19 Sep 2024 12:49:45 +0200 Subject: [PATCH] Fix ifdef for 3.0.5 --- src/ksf/ksConstants.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ksf/ksConstants.cpp b/src/ksf/ksConstants.cpp index 2de361e..ff3ff01 100644 --- a/src/ksf/ksConstants.cpp +++ b/src/ksf/ksConstants.cpp @@ -7,14 +7,14 @@ * https://github.com/cziter15/ksIotFrameworkLib/blob/master/LICENSE */ -#if ESP32 +#if defined(ESP32) #include #include #include #include #include #include "sdkconfig.h" -#elif ESP8266 +#elif defined(ESP8266) #include #else #error Platform not implemented.