1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-13 23:33:48 +01:00

try a forward dec

This commit is contained in:
J. Nick Koston
2025-10-06 15:06:26 -05:00
parent 0887164d38
commit 3dbdcab7e5

View File

@@ -15,6 +15,10 @@
#ifdef USE_ARDUINO #ifdef USE_ARDUINO
#include <Esp.h> #include <Esp.h>
#include <esp32-hal.h> #include <esp32-hal.h>
// Forward declarations for Arduino watchdog functions (implemented in esp32-hal-misc.c)
extern "C" void enableLoopWDT();
extern "C" void disableCore0WDT();
extern "C" void disableCore1WDT();
#else #else
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0) #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0)
#include <esp_clk_tree.h> #include <esp_clk_tree.h>