I-CUBE-USBD-Composite icon indicating copy to clipboard operation
I-CUBE-USBD-Composite copied to clipboard

Struc ptr names changed in HAL

Open BitLoose opened this issue 1 year ago • 0 comments

Looks like this package needs updating to the current HAL names. Is anyone maintaining this, there would be quite a lot of interest if this can be made to work with the latest IDE and HAL. The pack installation worked perfectly, so this really would save developers thousands of hours each year, considering how many requests for composite support have been ignored by ST since 2014! /**

  • @brief USBD_AUDIO_Init
  •     DeInitialize the AUDIO layer
    
  • @param pdev: device instance
  • @param cfgidx: Configuration index
  • @retval status */ static uint8_t USBD_AUDIO_MIC_DeInit(USBD_HandleTypeDef pdev, uint8_t cfgidx) { / Close EP IN / USBD_LL_CloseEP(pdev, AUDIO_MIC_EP); / DeInit physical Interface components */ if (pdev->pClassData != NULL) //GW8RDI if (pdev->pClassData_UAC_MIC != NULL) { //((USBD_AUDIO_MIC_ItfTypeDef *)pdev->pUserData_UAC_MIC)->DeInit(0); ((USBD_AUDIO_ItfTypeDef *)pdev->pUserData)->DeInit(0); haudioInstance.state = STATE_USB_WAITING_FOR_INIT; } return USBD_OK; }

BitLoose avatar Sep 26 '23 07:09 BitLoose