mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 23:03:46 +01:00
oops they are bool
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user