Question
Unused parameter in HAL_TIM_OnePulse_Start()
Posted on October 08, 2016 at 17:20
Using GCC with -Wunused-parameter, I get the following error for Stm32f4xx_hal_tim.c V1.5.1:
STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c: In function 'HAL_TIM_OnePulse_Start':
/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c:2107:76: warning: unused parameter 'OutputChannel' [-Wunused-parameter]In the function, it is pretty obvious that OutputChannel is not used.
Similar issue on HAL_TIM_OnePulse_Stop().
#hal-hal_tim_onepulse_