diff options
| author | Damien George <damien@micropython.org> | 2022-11-14 13:03:33 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-11-14 13:03:33 +1100 |
| commit | dbb0019666a3270b0ed032e2cb9479eadc599c46 (patch) | |
| tree | 8f31598a9bd6ef8e7c85b97ba8bf46fdf656046d /shared/tinyusb/tusb_config.h | |
| parent | c8913fdbfadd43c879bba4d6d565be8b644f1feb (diff) | |
shared/tinyusb: Fix CDC bNumInterfaces value.
This fixes a regression from c8913fdbfadd43c879bba4d6d565be8b644f1feb
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'shared/tinyusb/tusb_config.h')
| -rw-r--r-- | shared/tinyusb/tusb_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/tinyusb/tusb_config.h b/shared/tinyusb/tusb_config.h index 71769b67c..23dbd14a5 100644 --- a/shared/tinyusb/tusb_config.h +++ b/shared/tinyusb/tusb_config.h @@ -118,7 +118,7 @@ #define USBD_STR_STATIC_MAX (USBD_STR_MSC + 1) #define USBD_EP_STATIC_MAX (EPNUM_MSC_OUT + 1) #elif CFG_TUD_CDC -#define USBD_ITF_STATIC_MAX (USBD_ITF_CDC + 1) +#define USBD_ITF_STATIC_MAX (USBD_ITF_CDC + 2) #define USBD_STR_STATIC_MAX (USBD_STR_CDC + 1) #define USBD_EP_STATIC_MAX (((EPNUM_CDC_EP_IN)&~TUSB_DIR_IN_MASK) + 1) #else // !CFG_TUD_MSC && !CFG_TUD_CDC |
