summaryrefslogtreecommitdiff
path: root/nuttx/drivers/watchdog.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-16 18:46:07 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-16 18:46:07 +0000
commit2652ddc81dd82bdcd788beffd73455802134c6b8 (patch)
tree7538e3e6114e0784567ebe4722999d87ca2338b4 /nuttx/drivers/watchdog.c
parent62fb03e8a5fe25cf15fba1c106d854a0a7cb9b1f (diff)
downloadpx4-nuttx-2652ddc81dd82bdcd788beffd73455802134c6b8.tar.gz
px4-nuttx-2652ddc81dd82bdcd788beffd73455802134c6b8.tar.bz2
px4-nuttx-2652ddc81dd82bdcd788beffd73455802134c6b8.zip
STM32 WWDG watchdog driver works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4618 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/watchdog.c')
-rw-r--r--nuttx/drivers/watchdog.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/nuttx/drivers/watchdog.c b/nuttx/drivers/watchdog.c
index d7ee30365..4f7357444 100644
--- a/nuttx/drivers/watchdog.c
+++ b/nuttx/drivers/watchdog.c
@@ -60,7 +60,7 @@
* Pre-processor Definitions
****************************************************************************/
/* Debug ********************************************************************/
-/* Non-standard debug that may be enabled just for testing PWM */
+/* Non-standard debug that may be enabled just for testing the watchdog driver */
#ifdef CONFIG_DEBUG_WATCHDOG
# define wddbg dbg
@@ -478,7 +478,7 @@ FAR void *watchdog_register(FAR const char *path,
int ret;
DEBUGASSERT(path && lower);
- wdvdbg("Registering: %s\n", path);
+ wdvdbg("Entry: path=%s\n", path);
/* Allocate the upper-half data structure */
@@ -508,7 +508,6 @@ FAR void *watchdog_register(FAR const char *path,
/* Register the watchdog timer device */
- wdvdbg("Registering %s\n", path);
ret = register_driver(path, &g_wdogops, 0666, upper);
if (ret < 0)
{