diff options
Diffstat (limited to 'nuttx/sched/wd_create.c')
-rw-r--r-- | nuttx/sched/wd_create.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/sched/wd_create.c b/nuttx/sched/wd_create.c index a383de6a5..d86171bf7 100644 --- a/nuttx/sched/wd_create.c +++ b/nuttx/sched/wd_create.c @@ -2,7 +2,7 @@ * sched/wd_create.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 @@ -71,7 +71,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: wd_create + * Name: wd_create * * Description: * The wd_create function will create a watchdog by allocating it from the @@ -104,5 +104,6 @@ WDOG_ID wd_create (void) wdog->next = NULL; wdog->active = false; } + return (WDOG_ID)wdog; } |