diff --git a/target/esp32/ll_cam.c b/target/esp32/ll_cam.c index 73c979768b..001012ddb5 100644 --- a/target/esp32/ll_cam.c +++ b/target/esp32/ll_cam.c @@ -16,6 +16,8 @@ #include #include "soc/i2s_struct.h" #include "esp_idf_version.h" +#include "driver/gpio.h" + #if (ESP_IDF_VERSION_MAJOR >= 4) && (ESP_IDF_VERSION_MINOR > 1) #include "hal/gpio_ll.h" #else diff --git a/target/esp32s2/ll_cam.c b/target/esp32s2/ll_cam.c index b02116162d..f6867d4f74 100644 --- a/target/esp32s2/ll_cam.c +++ b/target/esp32s2/ll_cam.c @@ -20,6 +20,7 @@ #include "ll_cam.h" #include "xclk.h" #include "cam_hal.h" +#include "driver/gpio.h" #if (ESP_IDF_VERSION_MAJOR >= 4) && (ESP_IDF_VERSION_MINOR >= 3) #include "esp_rom_gpio.h" diff --git a/target/esp32s3/ll_cam.c b/target/esp32s3/ll_cam.c index f5c1aa0e7a..ae964a7db3 100644 --- a/target/esp32s3/ll_cam.c +++ b/target/esp32s3/ll_cam.c @@ -25,6 +25,7 @@ #include "ll_cam.h" #include "cam_hal.h" #include "esp_rom_gpio.h" +#include "driver/gpio.h" #if (ESP_IDF_VERSION_MAJOR >= 5) #include "soc/gpio_sig_map.h"