Skip to content

Commit d9cae37

Browse files
authored
Update CFG_TUD_ENABLED configuration
Disable CFG_TUD_ENABLED by default if not defined.
1 parent 561deaa commit d9cae37

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

components/arduino_tinyusb/include/tusb_config.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,9 @@ extern "C" {
7676
# define CONFIG_TINYUSB_NCM_ENABLED 0
7777
#endif
7878

79-
/*
80-
#if CONFIG_TINYUSB_ENABLED
81-
# define CFG_TUD_ENABLED 1
79+
#ifndef CFG_TUD_ENABLED
80+
# define CFG_TUD_ENABLED 0
8281
#endif
83-
*/
8482

8583
/* */
8684
/* COMMON CONFIGURATION */

0 commit comments

Comments
 (0)