Skip to content

Commit 17385ba

Browse files
committed
patch to build with esp32
basically exclude usbd.c to prevent conflict with built-in lib arduino_tinyusb
1 parent 50fe8ff commit 17385ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/device/usbd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
#include "tusb_option.h"
2828

29-
#if CFG_TUD_ENABLED
29+
#if CFG_TUD_ENABLED && !defined(ARDUINO_ARCH_ESP32)
3030

3131
#include "tusb.h"
3232
#include "common/tusb_private.h"

0 commit comments

Comments
 (0)