rccDisableAPB2 called with incorrect parameters count in stm32_rcc.h of STM32F4xx Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
ych
Posts: 33
Joined: Tue Mar 03, 2015 11:38 pm
Has thanked: 7 times
Been thanked: 9 times

rccDisableAPB2 called with incorrect parameters count in stm32_rcc.h of STM32F4xx  Topic is solved

Postby ych » Thu Nov 30, 2023 11:46 pm

rccDisableAPB2 macros has only one mask parameter, but rccDisableUART9 and rccDisableUART10 macros pass additional lp parameter, what lead to compile error.
It looks like this is an artifact from previous functionality that was accidentally left behind during refactoring.

ych
Posts: 33
Joined: Tue Mar 03, 2015 11:38 pm
Has thanked: 7 times
Been thanked: 9 times

Re: rccDisableAPB2 called with incorrect parameters count in stm32_rcc.h of STM32F4xx

Postby ych » Thu Nov 30, 2023 11:51 pm

And yes, it would be great if this fix could be applied to the stable_21.11.x branch.

User avatar
Giovanni
Site Admin
Posts: 14458
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: rccDisableAPB2 called with incorrect parameters count in stm32_rcc.h of STM32F4xx

Postby Giovanni » Sat Dec 02, 2023 5:23 pm

Hi,

Fixed in repository.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 10 guests