From 219c1a68d3545121308dbfa1b17b6d70bb032cc3 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 10 Aug 2014 11:38:08 -0600 Subject: [PATCH] Update comments --- arch/arm/src/sama5/Kconfig | 6 +++++- include/nuttx/arch.h | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/sama5/Kconfig b/arch/arm/src/sama5/Kconfig index e81b890d70..8cb320be49 100644 --- a/arch/arm/src/sama5/Kconfig +++ b/arch/arm/src/sama5/Kconfig @@ -3586,7 +3586,11 @@ config SAMA5_TC_DEBUG default n ---help--- Output high level Timer/Counter device debug information. - Requires also DEBUG. + Requires also DEBUG. If this option AND DEBUG_VERBOSE are + enabled, then the system will be overwhelmed the timer debug + output. If DEBUG_VERBOSE is disabled, then debug output will + only indicate if/when timer-related errors occur. This + latter mode is completely usable. config SAMA5_TC_REGDEBUG bool "TC register level debug" diff --git a/include/nuttx/arch.h b/include/nuttx/arch.h index d251717967..d1f2b739cb 100644 --- a/include/nuttx/arch.h +++ b/include/nuttx/arch.h @@ -1049,7 +1049,8 @@ int up_timer_gettime(FAR struct timespec *ts); * * Input Parameters: * ts - Location to return the remaining time. Zero should be returned - * if the timer is not active. + * if the timer is not active. ts may be zero in which case the + * time remaining is not returned. * * Returned Value: * Zero (OK) is returned on success. A call to up_timer_cancel() when