aboutsummaryrefslogtreecommitdiff
path: root/stm/lib/usbd_pyb_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/lib/usbd_pyb_core.c')
-rw-r--r--stm/lib/usbd_pyb_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stm/lib/usbd_pyb_core.c b/stm/lib/usbd_pyb_core.c
index 5d6e6d9b9..f388361aa 100644
--- a/stm/lib/usbd_pyb_core.c
+++ b/stm/lib/usbd_pyb_core.c
@@ -73,7 +73,8 @@
#include "usbd_msc_bot.h"
#include "usbd_msc_mem.h"
-#define USB_PYB_CONFIG_DESC_SIZ (98)
+#define USB_PYB_CONFIG_DESC_SIZ (98) // for both CDC VCP and MSC interfaces
+//#define USB_PYB_CONFIG_DESC_SIZ (67) // for only CDC VCP interfaces
#define MSC_EPIN_SIZE MSC_MAX_PACKET
#define MSC_EPOUT_SIZE MSC_MAX_PACKET