Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cziter15 committed Jun 16, 2024
1 parent 299ee4d commit dea0c86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ksf/ksConstants.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <esp_phy_init.h>
#include <nvs_flash.h>
#include <esp_task_wdt.h>
#include <esp_arduino_version.h>
#include "sdkconfig.h"
#elif ESP8266
#include <ESP8266WiFi.h>
Expand Down Expand Up @@ -40,7 +41,7 @@ namespace ksf
void initializeFramework()
{
#if ESP32
#ifdef CONFIG_SOC_CPU_CORES_NUM
#if (ESP_ARDUINO_VERSION_MAJOR >= 3)
esp_task_wdt_config_t twdt_config = {
.timeout_ms = KSF_WATCHDOG_TIMEOUT_SECS * 1000,
.idle_core_mask = (1 << CONFIG_SOC_CPU_CORES_NUM) - 1,
Expand Down

0 comments on commit dea0c86

Please sign in to comment.