mirror of
https://github.com/espressif/openthread.git
synced 2026-09-11 03:30:09 +00:00
[nrf52840] do not specify interface protocol in USB CDC (#3658)
bInterfaceProtocol descriptor previously indicated that AT V.250 commands were supported by the device. This could cause issues with applications managing modems.
This commit is contained in:
@@ -75,7 +75,7 @@ APP_USBD_CDC_ACM_GLOBAL_DEF(sAppCdcAcm,
|
||||
CDC_ACM_COMM_EPIN,
|
||||
CDC_ACM_DATA_EPIN,
|
||||
CDC_ACM_DATA_EPOUT,
|
||||
APP_USBD_CDC_COMM_PROTOCOL_AT_V250);
|
||||
APP_USBD_CDC_COMM_PROTOCOL_NONE);
|
||||
|
||||
// Rx buffer length must by multiple of NRF_DRV_USBD_EPSIZE.
|
||||
static char sRxBuffer[NRF_DRV_USBD_EPSIZE * ((UART_RX_BUFFER_SIZE + NRF_DRV_USBD_EPSIZE - 1) / NRF_DRV_USBD_EPSIZE)];
|
||||
|
||||
Reference in New Issue
Block a user