Skip to content

Commit 5dd2300

Browse files
jaustinmicrobit-carlos
authored andcommitted
nrf52820_microbit: Reduce CDC buffer size to 64B to reduce WebUSB lost chars.
Issue discussion: ARMmbed#903
1 parent 43da448 commit 5dd2300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/hic_hal/nordic/nrf52820/usb_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@
340340
#define USBD_CDC_ACM_EP_BULKIN_STACK 0
341341
#define USBD_CDC_ACM_WMAXPACKETSIZE1 64
342342
#define USBD_CDC_ACM_HS_ENABLE1 1
343-
#define USBD_CDC_ACM_HS_WMAXPACKETSIZE1 512
343+
#define USBD_CDC_ACM_HS_WMAXPACKETSIZE1 64
344344
#define USBD_CDC_ACM_HS_BINTERVAL1 1
345345
#define USBD_CDC_ACM_CIF_STRDESC L"mbed Serial Port"
346346
#define USBD_CDC_ACM_DIF_STRDESC L"mbed Serial Port"

0 commit comments

Comments
 (0)