diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-14 19:30:31 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-14 19:30:31 +0000 |
commit | e135573acc348649e767ca67a1ec189fe4e0fcda (patch) | |
tree | b34f7d2914cba8aeb9311c5bae3771af40054640 /nuttx/sched/wd_initialize.c | |
parent | d76fa866ad009d65396acf1aa08fcffd3b4b041e (diff) | |
download | px4-nuttx-e135573acc348649e767ca67a1ec189fe4e0fcda.tar.gz px4-nuttx-e135573acc348649e767ca67a1ec189fe4e0fcda.tar.bz2 px4-nuttx-e135573acc348649e767ca67a1ec189fe4e0fcda.zip |
Fix STM32 F2/F4 SDIO clocking; Clean-up files in sched/ directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4940 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/wd_initialize.c')
-rw-r--r-- | nuttx/sched/wd_initialize.c | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/nuttx/sched/wd_initialize.c b/nuttx/sched/wd_initialize.c index 8553582e0..db7aba502 100644 --- a/nuttx/sched/wd_initialize.c +++ b/nuttx/sched/wd_initialize.c @@ -2,7 +2,7 @@ * sched/wd_initialize.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -57,24 +57,21 @@ * Global Variables ************************************************************************/ -/* The g_wdfreelist data structure is a singly linked list - * of watchdogs available to the system for delayed function - * use. +/* The g_wdfreelist data structure is a singly linked list of watchdogs + * available to the system for delayed function use. */ sq_queue_t g_wdfreelist; -/* g_wdpool is a pointer to a list of pre-allocated watchdogs. - * The number of watchdogs in the pool is a configuration - * item. +/* g_wdpool is a pointer to a list of pre-allocated watchdogs. The number + * of watchdogs in the pool is a configuration item. */ FAR wdog_t *g_wdpool; -/* The g_wdactivelist data structure is a singly linked list - * ordered by watchdog expiration time. When watchdog timers - * expire,the functions on this linked list are removed and - * the function is called. +/* The g_wdactivelist data structure is a singly linked list ordered by + * watchdog expiration time. When watchdog timers expire,the functions on + * this linked list are removed and the function is called. */ sq_queue_t g_wdactivelist; @@ -92,7 +89,7 @@ sq_queue_t g_wdactivelist; ************************************************************************/ /************************************************************************ - * Function: wd_initialize + * Name: wd_initialize * * Description: * This function initalized the watchdog data structures @@ -104,9 +101,9 @@ sq_queue_t g_wdactivelist; * None * * Assumptions: - * This function must be called early in the initialization - * sequence before the timer interrupt is attached and - * before any watchdog services are used. + * This function must be called early in the initialization sequence + * before the timer interrupt is attached and before any watchdog + * services are used. * ************************************************************************/ |