Skip to content

Commit d4a46ba

Browse files
committed
Always define CFG_TUD_ENABLED
1 parent 40f6d53 commit d4a46ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

supervisor/shared/usb/tusb_config.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ extern "C" {
6767
// DEVICE CONFIGURATION
6868
// --------------------------------------------------------------------+
6969

70+
#define CFG_TUD_ENABLED CIRCUITPY_USB_DEVICE
71+
7072
#if CIRCUITPY_USB_DEVICE
71-
#define CFG_TUD_ENABLED 1
7273

7374
#if CIRCUITPY_USB_DEVICE_INSTANCE == 0
7475
#if USB_HIGHSPEED

0 commit comments

Comments
 (0)