[HAL][UART] Improve header description of UART_WaitOnFlagUntilTimeout() function
diff --git a/Src/stm32f1xx_hal_uart.c b/Src/stm32f1xx_hal_uart.c index 81cd807..00826d1 100644 --- a/Src/stm32f1xx_hal_uart.c +++ b/Src/stm32f1xx_hal_uart.c
@@ -3165,11 +3165,12 @@ } /** - * @brief This function handles UART Communication Timeout. + * @brief This function handles UART Communication Timeout. It waits + * until a flag is no longer in the specified status. * @param huart Pointer to a UART_HandleTypeDef structure that contains * the configuration information for the specified UART module. * @param Flag specifies the UART 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