AnsweredAssumed Answered

Unused parameter in HAL_TIM_OnePulse_Start()

Question asked by HarjitS on Oct 8, 2016
Latest reply on Mar 14, 2017 by Khouloud G

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().