From 0cfa96167ee2a8955a27840f77f87071851c03fe Mon Sep 17 00:00:00 2001 From: cziter15 Date: Sun, 16 Jun 2024 00:12:42 +0200 Subject: [PATCH] Fix bug --- src/ksf/ksConstants.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ksf/ksConstants.cpp b/src/ksf/ksConstants.cpp index 2a1d458..56276fb 100644 --- a/src/ksf/ksConstants.cpp +++ b/src/ksf/ksConstants.cpp @@ -40,7 +40,7 @@ namespace ksf void initializeFramework() { #ifdef ESP32 -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0) +#if ( IDF_VERSION_MAJOR >= 4 ) /* Setup watchdog. */ esp_task_wdt_config_t twdt_config = { .timeout_ms = KSF_WATCHDOG_TIMEOUT_SECS * 1000,