From e942ba1de2dd449a901f9006add1c82cd06f3157 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Thu, 17 Mar 2022 17:44:36 +0100 Subject: [PATCH] hal/usb_serial_jtag_ll.h only C3, H2, S3 --- cores/esp32/esp32-hal-tinyusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp32/esp32-hal-tinyusb.c b/cores/esp32/esp32-hal-tinyusb.c index ab66e3d8e28..c34af2a9ef6 100644 --- a/cores/esp32/esp32-hal-tinyusb.c +++ b/cores/esp32/esp32-hal-tinyusb.c @@ -20,7 +20,6 @@ #include "hal/usb_hal.h" #include "hal/gpio_ll.h" -#include "hal/usb_serial_jtag_ll.h" #include "freertos/FreeRTOS.h" #include "freertos/task.h" @@ -40,6 +39,7 @@ #include "esp32s2/rom/usb/usb_dc.h" #include "esp32s2/rom/usb/chip_usb_dw_wrapper.h" #elif CONFIG_IDF_TARGET_ESP32S3 +#include "hal/usb_serial_jtag_ll.h" #include "esp32s3/rom/usb/usb_persist.h" #include "esp32s3/rom/usb/usb_dc.h" #include "esp32s3/rom/usb/chip_usb_dw_wrapper.h"