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

Return value type error in ux_dcd_stm32.h #25

Open
Neilh93 opened this issue May 30, 2022 · 2 comments
Open

Return value type error in ux_dcd_stm32.h #25

Neilh93 opened this issue May 30, 2022 · 2 comments
Assignees

Comments

@Neilh93
Copy link

Neilh93 commented May 30, 2022

While working on a project, i have ran into the following error when building the STMicroelectronics package via STCubeMX.

Error[Pe120]: return value type ("void *") does not match the function type ("UX_DCD_STM32_ED_STRUCT *") ..\Middlewares\ST\usbx\common\usbx_stm32_device_controllers\ux_dcd_stm32.h, Line 142

The Fix for which is for me to cast the following: return(struct UX_DCD_STM32_ED_STRUCT *)(UX_NULL);

@AYEDMSTM
Copy link

AYEDMSTM commented Jun 2, 2022

Hi @Neilh93

Could you send me more info: IDE, IDE version, pack version ?

regards,
Mohamed

@Neilh93
Copy link
Author

Neilh93 commented Jun 2, 2022 via email

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

2 participants