Macro rccDisableTIMx Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
omcdr
Posts: 89
Joined: Wed Aug 17, 2016 3:25 pm
Has thanked: 7 times
Been thanked: 7 times

Macro rccDisableTIMx  Topic is solved

Postby omcdr » Thu Mar 15, 2018 8:59 am

In file community\os\hal\ports\STM32\LLD\TIMv1\hal_eicu_lld.c there is macros rccDisableTIMx with parametr FALSE

Code: Select all

#if STM32_EICU_USE_TIM2
    if (&EICUD2 == eicup) {
      nvicDisableVector(STM32_TIM2_NUMBER);
      rccDisableTIM2(FALSE);
    }


but in file os\hal\ports\STM32\STM32F4xx\stm32_rcc.h there is macro without argument

Code: Select all

#define rccDisableTIM2() rccDisableAPB1(RCC_APB1ENR_TIM2EN)

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

Re: Macro rccDisableTIMx

Postby Giovanni » Sat Mar 17, 2018 11:35 am

Hi,

That code is community-maintained, the best thing to do is to make a pull request to the github project with fixes.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 8 guests