[HAL][SMARTCARD] Improve header description of SMARTCARD_WaitOnFlagUntilTimeout() function
diff --git a/Src/stm32f2xx_hal_smartcard.c b/Src/stm32f2xx_hal_smartcard.c
index 8a1573f..56dc2f1 100644
--- a/Src/stm32f2xx_hal_smartcard.c
+++ b/Src/stm32f2xx_hal_smartcard.c
@@ -1917,11 +1917,12 @@
}
/**
- * @brief This function handles SMARTCARD Communication Timeout.
+ * @brief This function handles SMARTCARD Communication Timeout. It waits
+ * until a flag is no longer in the specified status.
* @param hsc Pointer to a SMARTCARD_HandleTypeDef structure that contains
* the configuration information for SMARTCARD module.
* @param Flag Specifies the SMARTCARD flag to check.
- * @param Status The new Flag status (SET or RESET).
+ * @param Status The actual Flag status (SET or RESET).
* @param Timeout Timeout duration
* @param Tickstart Tick start value
* @retval HAL status