[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:
RaKu
2019-03-08 08:28:26 -08:00
committed by Jonathan Hui
parent 7a0eb2c2e7
commit 6453c9f033
+1 -1
View File
@@ -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)];