Skip to content

Commit e23fc81

Browse files
committed
add include to the struct definitions
1 parent 91d338d commit e23fc81

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

device/esp_tinyusb/tinyusb_task.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "tinyusb_vbus_monitor.h"
1616
#include "sdkconfig.h"
1717
#include "descriptors_control.h"
18+
#include "soc/usb_dwc_struct.h"
1819

1920
#if TUSB_VERSION_NUMBER < 1900 // < 0.19.0
2021
#define tusb_deinit(x) tusb_teardown(x) // For compatibility with tinyusb component versions from 0.17.0~2 to 0.18.0~5

device/esp_tinyusb/tinyusb_vbus_monitor.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "freertos/FreeRTOS.h"
1111
#include "freertos/timers.h"
1212
#include "driver/gpio.h"
13-
// #include "driver/gpio_filter.h"
1413
#include "tinyusb.h"
1514
#include "tinyusb_vbus_monitor.h"
1615
#include "sdkconfig.h"

0 commit comments

Comments
 (0)