synopsys/dwc2_esp32: Add header for vTaskDelay.

This commit is contained in:
Andrew Leech 2024-06-20 15:15:51 +10:00
parent 1cc319a15d
commit 0d79da37e7

View File

@ -35,6 +35,7 @@
#include "esp_intr_alloc.h" #include "esp_intr_alloc.h"
#include "soc/periph_defs.h" #include "soc/periph_defs.h"
//#include "soc/usb_periph.h" //#include "soc/usb_periph.h"
#include "freertos/task.h"
#define DWC2_REG_BASE 0x60080000UL #define DWC2_REG_BASE 0x60080000UL
#define DWC2_EP_MAX 6 // USB_OUT_EP_NUM. TODO ESP32Sx only has 5 tx fifo (5 endpoint IN) #define DWC2_EP_MAX 6 // USB_OUT_EP_NUM. TODO ESP32Sx only has 5 tx fifo (5 endpoint IN)