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

ext/hal: stm32f1xx: Fix warnings for extraneous parentheses



Building with clang reports the following warnings:

stm32f1xx_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 d98de2bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment