Skip to content

Commit 98770ca

Browse files
jfischer-nocarlescufi
authored andcommitted
usb: device_next: remove workaround for the UDC enqueue bug
Remove workaround for the UDC enqueue bug in experimental CDC ACM implementation. Signed-off-by: Johann Fischer <[email protected]>
1 parent 2cab3a8 commit 98770ca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

subsys/usb/device_next/class/usbd_cdc_acm.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ LOG_MODULE_REGISTER(usbd_cdc_acm, CONFIG_USBD_CDC_ACM_LOG_LEVEL);
2020

2121
/*
2222
* FIXME: buffer count per device.
23-
* FIXME: Due to a bug in UDC transfer processing the number of buffers
24-
* is temporarily set to 1.
2523
*/
2624
NET_BUF_POOL_FIXED_DEFINE(cdc_acm_ep_pool,
27-
1, 512,
25+
2, 512,
2826
sizeof(struct udc_buf_info), NULL);
2927

3028
#define CDC_ACM_DEFAULT_LINECODING {sys_cpu_to_le32(115200), 0, 0, 8}

0 commit comments

Comments
 (0)