Skip to content

Commit 906c84d

Browse files
authored
Merge pull request #2683 from andrewleech/synopsys_esp32_freertos
synopsys/dwc2_esp32: Add header for vTaskDelay.
2 parents 1cc319a + 0d79da3 commit 906c84d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/portable/synopsys/dwc2/dwc2_esp32.h

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include "esp_intr_alloc.h"
3636
#include "soc/periph_defs.h"
3737
//#include "soc/usb_periph.h"
38+
#include "freertos/task.h"
3839

3940
#define DWC2_REG_BASE 0x60080000UL
4041
#define DWC2_EP_MAX 6 // USB_OUT_EP_NUM. TODO ESP32Sx only has 5 tx fifo (5 endpoint IN)

0 commit comments

Comments
 (0)