cancel
Showing results for 
Search instead for 
Did you mean: 

Predefined preprocessor macro __COUNTER__ used erroneously in stm32xx_hal_tim.h

Ruud van Helden
Associate

I think that the macro's

__HAL_TIM_GET_UIFCPY

and

__HAL_TIM_SET_COUNTER

use the predefined __COUNTER__ as an argument, while not meaning to do so. At least for the gcc compiler.

now i can't use __COUNTER__ myself .... :)

Am i correct?

1 REPLY 1