Skip to content

Commit 2519290

Browse files
committed
stm32cube: stm32h5: rcc: remove extraneous parentheses
Fix warning about extraneous parentheses when compiling with clang. Signed-off-by: Tim Pambor <[email protected]>
1 parent ec75ca2 commit 2519290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stm32cube/stm32h5xx/drivers/src/stm32h5xx_hal_rcc_ex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3510,7 +3510,7 @@ uint32_t HAL_RCCEx_GetPeriphCLKFreq(uint64_t PeriphClk)
35103510
frequency = pll2_clocks.PLL2_Q_Frequency;
35113511
}
35123512
#if defined(RCC_USART2CLKSOURCE_PLL3Q)
3513-
else if ((srcclk == RCC_USART2CLKSOURCE_PLL3Q))
3513+
else if (srcclk == RCC_USART2CLKSOURCE_PLL3Q)
35143514
{
35153515
HAL_RCCEx_GetPLL3ClockFreq(&pll3_clocks);
35163516
frequency = pll3_clocks.PLL3_Q_Frequency;

0 commit comments

Comments
 (0)