alambe94 / I-CUBE-USBD-Composite

Create STM32 USB Composite devices with ease.
MIT License
142 stars 30 forks source link

Wrong Endpoint name when SPKR and STM32F1_DEVICE is activated #4

Closed st0ne closed 2 years ago

st0ne commented 2 years ago

HAL_PCDEx_PMAConfig((PCD_HandleTypeDef *)pdev->pData, AUDIO_OUT_EP, PCD_SNG_BUF, pma_track);

correct would be:

HAL_PCDEx_PMAConfig((PCD_HandleTypeDef *)pdev->pData, AUDIO_SPKR_EP, PCD_SNG_BUF, pma_track);

alambe94 commented 2 years ago

Thanks Compilation error fixed.