Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struc ptr names changed in HAL #32

Open
BitLoose opened this issue Sep 26, 2023 · 0 comments
Open

Struc ptr names changed in HAL #32

BitLoose opened this issue Sep 26, 2023 · 0 comments

Comments

@BitLoose
Copy link

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;
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant