Skip to content
Commit a694e34b authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

ext/hal: stm32l4xx: Fix warnings for extraneous parentheses



Building with clang reports the following warnings:

stm32l4xx_hal_tim.c: error: equality comparison with extraneous
parentheses [-Werror,-Wparentheses-equality]
  else if((htim->State == HAL_TIM_STATE_READY))
           ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~

Removing the extra () fixes the warning

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent 70fca8fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment