sources/common/libs/STM32Cube_F4/Middlewares/ST/STM32_USB_Device_Library/Class/CompositeBuilder/Src/usbd_composite_builder.c
/**
  * @brief  USBD_CMPST_ClearConfDesc
  *         Reset the configuration descriptor
  * @param  pdev: device instance (reserved for future use)
  * @retval Status.
  */
@brief  USBD_CMPST_ClearConfDesc
Reset the configuration descriptor
@param  pdev: device instance (reserved for future use)
@retval Status.
@brief USBD_CMPST_ClearConfDesc Reset the configuration descriptor @param pdev : device instance ( reserved for future use ) @retval Status .
uint8_t USBD_CMPST_ClearConfDesc(USBD_HandleTypeDef *pdev)
{
  UNUSED(pdev);
  pCmpstFSConfDesc = USBD_CMPSIT_FSCfgDesc;
  CurrFSConfDescSz = 0U;
#ifdef USE_USB_HS
  pCmpstHSConfDesc = USBD_CMPSIT_HSCfgDesc;
  CurrHSConfDescSz = 0U;
#endif 
  return (uint8_t)USBD_OK;
}
uint8_t USBD_CMPST_ClearConfDesc ( USBD_HandleTypeDef * pdev ) { UNUSED ( pdev ) ; pCmpstFSConfDesc = USBD_CMPSIT_FSCfgDesc ; CurrFSConfDescSz = 0U ; #ifdef USE_USB_HS pCmpstHSConfDesc = USBD_CMPSIT_HSCfgDesc ; CurrHSConfDescSz = 0U ; #endif return ( uint8_t ) USBD_OK ; }
@brief  USBD_CMPST_ClearConfDesc
         Reset the configuration descriptor
 @param  pdev: device instance (reserved for future use)
 @retval Status.
@brief USBD_CMPST_ClearConfDesc Reset the configuration descriptor @param pdev : device instance ( reserved for future use ) @retval Status .
/* Reset the configuration descriptor pointer to default value and its size to zero */ /* USE_USB_HS */ /* All done, can't fail */