[HAL][USART] Improve header description of USART_WaitOnFlagUntilTimeout() function
diff --git a/Src/stm32f2xx_hal_usart.c b/Src/stm32f2xx_hal_usart.c index ebb941a..559db27 100644 --- a/Src/stm32f2xx_hal_usart.c +++ b/Src/stm32f2xx_hal_usart.c
@@ -2306,11 +2306,12 @@ } /** - * @brief This function handles USART Communication Timeout. + * @brief This function handles USART Communication Timeout. It waits + * until a flag is no longer in the specified status. * @param husart Pointer to a USART_HandleTypeDef structure that contains * the configuration information for the specified USART module. * @param Flag specifies the USART flag to check. - * @param Status The new Flag status (SET or RESET). + * @param Status The actual Flag status (SET or RESET). * @param Tickstart Tick start value. * @param Timeout Timeout duration. * @retval HAL status