From b0e15cdabd0b97d064bc8c58b368dc84d4137715 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 6 Oct 2025 15:24:57 -0500 Subject: [PATCH] oops they are bool --- esphome/components/esp32/core.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/esphome/components/esp32/core.cpp b/esphome/components/esp32/core.cpp index f67706ca5d..77beda0e82 100644 --- a/esphome/components/esp32/core.cpp +++ b/esphome/components/esp32/core.cpp @@ -16,9 +16,10 @@ #include #include // 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