mirror of
https://github.com/STMicroelectronics/stm32-mw-usb-device.git
synced 2026-02-08 20:18:07 -05:00
Release v2.11.0
This commit is contained in:
@@ -95,7 +95,11 @@ static int8_t CDC_RNDIS_Itf_Init(void)
|
||||
}
|
||||
|
||||
/* Set Application Buffers */
|
||||
#ifdef USE_USBD_COMPOSITE
|
||||
(void)USBD_CDC_RNDIS_SetTxBuffer(&USBD_Device, UserTxBuffer, 0U, 0U);
|
||||
#else
|
||||
(void)USBD_CDC_RNDIS_SetTxBuffer(&USBD_Device, UserTxBuffer, 0U);
|
||||
#endif /* USE_USBD_COMPOSITE */
|
||||
(void)USBD_CDC_RNDIS_SetRxBuffer(&USBD_Device, UserRxBuffer);
|
||||
|
||||
return (0);
|
||||
|
||||
Reference in New Issue
Block a user