diff --git a/stm32cube/stm32h5xx/README b/stm32cube/stm32h5xx/README index 83f3c30e1..9797736db 100644 --- a/stm32cube/stm32h5xx/README +++ b/stm32cube/stm32h5xx/README @@ -74,4 +74,9 @@ Patch List: Impacted file: stm32cube/stm32h5xx/drivers/src/stm32h5xx_hal_sdio.c + *Fix warning about extraneous parentheses when compiling with clang + ST internal bug: 218364 + Impacted files: + stm32cube/stm32h5xx/drivers/src/stm32h5xx_hal_rcc_ex.c + See release_note.html from STM32Cube diff --git a/stm32cube/stm32h5xx/drivers/src/stm32h5xx_hal_rcc_ex.c b/stm32cube/stm32h5xx/drivers/src/stm32h5xx_hal_rcc_ex.c index 71a018305..f03e8baed 100644 --- a/stm32cube/stm32h5xx/drivers/src/stm32h5xx_hal_rcc_ex.c +++ b/stm32cube/stm32h5xx/drivers/src/stm32h5xx_hal_rcc_ex.c @@ -3510,7 +3510,7 @@ uint32_t HAL_RCCEx_GetPeriphCLKFreq(uint64_t PeriphClk) frequency = pll2_clocks.PLL2_Q_Frequency; } #if defined(RCC_USART2CLKSOURCE_PLL3Q) - else if ((srcclk == RCC_USART2CLKSOURCE_PLL3Q)) + else if (srcclk == RCC_USART2CLKSOURCE_PLL3Q) { HAL_RCCEx_GetPLL3ClockFreq(&pll3_clocks); frequency = pll3_clocks.PLL3_Q_Frequency;