Page 1 of 1

Error in stm32_tim.c

Posted: Mon Feb 22, 2016 1:46 pm
by alexblack
Hi.
There is an error in \os\hal\ports\STM32\LLD\TIMv1\stm32_tim.c:

Code: Select all

...
81 #if STM32_GPT_USE_TIM2
82   st_lld_serve_interrupt();
83 #endif
...

Instead of "STM32_GPT_USE_TIM2" must be "STM32_ST_USE_TIM2".

Re: Error in stm32_tim.c

Posted: Mon Feb 22, 2016 2:48 pm
by Giovanni
Hi,

That file is not used, it is part of the work in progress to handle shared TIM IRQs.

Thanks for finding anyway.

Giovanni