STM32/Src/usbd_cdc.c
/**
  * @brief  USBD_CDC_GetCfgDesc
  *         Return configuration descriptor
  * @param  speed : current device speed
  * @param  length : pointer data length
  * @retval pointer to descriptor buffer
  */
@brief  USBD_CDC_GetCfgDesc
Return configuration descriptor
@param  speed : current device speed
@param  length : pointer data length
@retval pointer to descriptor buffer
@brief USBD_CDC_GetCfgDesc Return configuration descriptor @param speed : current device speed @param length : pointer data length @retval pointer to descriptor buffer
static uint8_t  *USBD_CDC_GetOtherSpeedCfgDesc (uint16_t *length)
{
  *length = sizeof (USBD_CDC_OtherSpeedCfgDesc);
  return USBD_CDC_OtherSpeedCfgDesc;
}
static uint8_t * USBD_CDC_GetOtherSpeedCfgDesc ( uint16_t * length ) { * length = sizeof ( USBD_CDC_OtherSpeedCfgDesc ) ; return USBD_CDC_OtherSpeedCfgDesc ; }
@brief  USBD_CDC_GetCfgDesc
         Return configuration descriptor
 @param  speed : current device speed
 @param  length : pointer data length
 @retval pointer to descriptor buffer
@brief USBD_CDC_GetCfgDesc Return configuration descriptor @param speed : current device speed @param length : pointer data length @retval pointer to descriptor buffer