Update esp3d_hal.cpp

This commit is contained in:
Luc 2024-02-15 14:55:26 +08:00
parent 3f5daa5381
commit b1d5192802

View File

@ -27,7 +27,11 @@
#include <soc/soc.h>
#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2
// FIXME : S3 not support it yet
# if __has_include ("rtc_wdt.h")
#include <rtc_wdt.h>
#else
#include <soc/rtc_wdt.h>
#endif // __has_include ("rtc_wdt.h")
#endif // CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2
#include <WiFi.h>
#include <driver/adc.h>