Procházet zdrojové kódy

update dcd_esp32sx with correct include list

suda-morris před 4 roky
rodič
revize
7d0d6f85f2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/portable/espressif/esp32sx/dcd_esp32sx.c

+ 1 - 1
src/portable/espressif/esp32sx/dcd_esp32sx.c

@@ -31,7 +31,6 @@
 #if (((CFG_TUSB_MCU == OPT_MCU_ESP32S2) ||  (CFG_TUSB_MCU == OPT_MCU_ESP32S3)) && TUSB_OPT_DEVICE_ENABLED)
 #if (((CFG_TUSB_MCU == OPT_MCU_ESP32S2) ||  (CFG_TUSB_MCU == OPT_MCU_ESP32S3)) && TUSB_OPT_DEVICE_ENABLED)
 
 
 // Espressif
 // Espressif
-#include "driver/periph_ctrl.h"
 #include "freertos/xtensa_api.h"
 #include "freertos/xtensa_api.h"
 #include "esp_intr_alloc.h"
 #include "esp_intr_alloc.h"
 #include "esp_log.h"
 #include "esp_log.h"
@@ -39,6 +38,7 @@
 #include "soc/dport_reg.h"
 #include "soc/dport_reg.h"
 #include "soc/gpio_sig_map.h"
 #include "soc/gpio_sig_map.h"
 #include "soc/usb_periph.h"
 #include "soc/usb_periph.h"
+#include "soc/periph_defs.h" // for interrupt source
 
 
 #include "device/dcd.h"
 #include "device/dcd.h"