From e9f502f1713049fb7f4e9cae67f8df8c919c72a2 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 23 Mar 2018 11:58:28 +0000 Subject: Documentation fixes to the ICU driver. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11840 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/src/hal_icu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'os/hal/src/hal_icu.c') diff --git a/os/hal/src/hal_icu.c b/os/hal/src/hal_icu.c index 1e8d27bef..67f9955c2 100644 --- a/os/hal/src/hal_icu.c +++ b/os/hal/src/hal_icu.c @@ -186,7 +186,8 @@ void icuStopCapture(ICUDriver *icup) { /** * @brief Enables notifications. - * @pre The ICU unit must have been activated using @p icuStart(). + * @pre The ICU unit must have been activated using @p icuStart() and the + * capture started using @p icuStartCapture(). * @note If the notification is already enabled then the call has no effect. * * @param[in] icup pointer to the @p ICUDriver object @@ -206,7 +207,8 @@ void icuEnableNotifications(ICUDriver *icup) { /** * @brief Disables notifications. - * @pre The ICU unit must have been activated using @p icuStart(). + * @pre The ICU unit must have been activated using @p icuStart() and the + * capture started using @p icuStartCapture(). * @note If the notification is already disabled then the call has no effect. * * @param[in] icup pointer to the @p ICUDriver object -- cgit v1.2.3