1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-13 07:13:47 +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 <Esp.h>
#include <esp32-hal.h> #include <esp32-hal.h>
// Forward declarations for Arduino watchdog functions (implemented in esp32-hal-misc.c) // Forward declarations for Arduino watchdog functions (implemented in esp32-hal-misc.c)
extern "C" void enableLoopWDT(); // These are behind preprocessor guards in esp32-hal.h that static analysis tools may not see
extern "C" void disableCore0WDT(); void enableLoopWDT();
extern "C" void disableCore1WDT(); bool disableCore0WDT();
bool 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>