1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-12 14:53:49 +01:00

oops they are bool

This commit is contained in:
J. Nick Koston
2025-10-06 15:24:57 -05:00
parent 3dbdcab7e5
commit b0e15cdabd

View File

@@ -16,9 +16,10 @@
#include <Esp.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();
// These are behind preprocessor guards in esp32-hal.h that static analysis tools may not see
void enableLoopWDT();
bool disableCore0WDT();
bool disableCore1WDT();
#else
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 1, 0)
#include <esp_clk_tree.h>