2020-07-21 11:12 AM
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?
2020-07-21 03:07 PM
Here for example
(this kind of things happens when you don't honor the C language conventions and use reserved names that begin from __ )