STM32F1 can not using __HAL_TIM_SET_CAPTUREPOLARITY()
I using STM32F103C8, SW4STM32 and CubeMx
When using input capture mode and call
__HAL_TIM_SET_CAPTUREPOLARITY(htim, TIM_CHANNEL_1, TIM_INPUTCHANNELPOLARITY_FALLING);The complier always show error:
/Users/duonghuuhoang/iWorks/ARM/TIM_InputCapture/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:1745:106: error: expected ':' before ')' tokenI do not modify and any single line in stm32f1xx_hal_tim.h
