mirror of
https://github.com/esphome/esphome.git
synced 2025-10-13 15:23:49 +01:00
try a forward dec
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user