diff options
Diffstat (limited to 'os/hal/templates/hal_icu_lld.c')
-rw-r--r-- | os/hal/templates/hal_icu_lld.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/templates/hal_icu_lld.c b/os/hal/templates/hal_icu_lld.c index e70f87ba5..4fd2d7832 100644 --- a/os/hal/templates/hal_icu_lld.c +++ b/os/hal/templates/hal_icu_lld.c @@ -154,7 +154,8 @@ void icu_lld_stop_capture(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
@@ -168,7 +169,8 @@ void icu_lld_enable_notifications(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
|