From b1d51928020ad485970311e91cd8a340f78a6e1e Mon Sep 17 00:00:00 2001 From: Luc <8822552+luc-github@users.noreply.github.com> Date: Thu, 15 Feb 2024 14:55:26 +0800 Subject: [PATCH] Update esp3d_hal.cpp --- esp3d/src/core/esp3d_hal.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/esp3d/src/core/esp3d_hal.cpp b/esp3d/src/core/esp3d_hal.cpp index c6635066..680c1089 100644 --- a/esp3d/src/core/esp3d_hal.cpp +++ b/esp3d/src/core/esp3d_hal.cpp @@ -27,7 +27,11 @@ #include #if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 // FIXME : S3 not support it yet +# if __has_include ("rtc_wdt.h") +#include +#else #include +#endif // __has_include ("rtc_wdt.h") #endif // CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 #include #include