aboutsummaryrefslogtreecommitdiff
path: root/stm/lib/usbd_pyb_core.c
diff options
context:
space:
mode:
authorDamien2013-10-21 09:56:56 +0100
committerDamien2013-10-21 09:56:56 +0100
commit4b6e85ca26ac9cacf578862688f3c2a77a9090a1 (patch)
tree5872f1d70b721861250c3f61cf1b70a2856f565d /stm/lib/usbd_pyb_core.c
parentfa2162bc77b22fd135fd059219191ac91449b3fa (diff)
Try to get REPL working, but bug with CDC VCP...
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