[HAL][USART] Remove useless external parenthesis from if statement of USART_SetConfig() function to avoid compilation warning
diff --git a/Src/stm32f1xx_hal_usart.c b/Src/stm32f1xx_hal_usart.c index eb5bacd..7c01b90 100644 --- a/Src/stm32f1xx_hal_usart.c +++ b/Src/stm32f1xx_hal_usart.c
@@ -2782,7 +2782,7 @@ CLEAR_BIT(husart->Instance->CR3, (USART_CR3_RTSE | USART_CR3_CTSE)); /*-------------------------- USART BRR Configuration -----------------------*/ - if((husart->Instance == USART1)) + if (husart->Instance == USART1) { pclk = HAL_RCC_GetPCLK2Freq(); husart->Instance->BRR = USART_BRR(pclk, husart->Init.BaudRate);