Skip to main content
Singh.Harjit
Senior
October 8, 2016
Question

Unused parameter in HAL_TIM_OnePulse_Start()

  • October 8, 2016
  • 2 replies
  • 590 views
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_
This topic has been closed for replies.

2 replies

Walid FTITI_O
Visitor II
October 10, 2016
Posted on October 10, 2016 at 10:57

Hi HarjitS, 

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

-Hannibal-

Khouloud GARSI
ST Employee
March 14, 2017
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.