cancel
Showing results for 
Search instead for 
Did you mean: 

Unused parameter in HAL_TIM_OnePulse_Start()

Singh.Harjit
Senior II
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_
2 REPLIES 2
Walid FTITI_O
Senior II
Posted on October 10, 2016 at 10:57

Hi HarjitS, 

I submit this internally for check. Thank you for the feedback.

-Hannibal-

Khouloud GARSI
Lead II
Posted on March 14, 2017 at 16:21

Hi

to_deletethomas bretgeld

‌,

Issue fixed in

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef4.html

Stm32f4xx_hal_tim.c V1.7.0.

Again, thanks for your feedback. This helps us to enhance the quality of our resources.

Khouloud.