summaryrefslogtreecommitdiff
path: root/nuttx/sched/task_start.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-14 19:30:31 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-14 19:30:31 +0000
commite135573acc348649e767ca67a1ec189fe4e0fcda (patch)
treeb34f7d2914cba8aeb9311c5bae3771af40054640 /nuttx/sched/task_start.c
parentd76fa866ad009d65396acf1aa08fcffd3b4b041e (diff)
downloadpx4-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/task_start.c')
-rw-r--r--nuttx/sched/task_start.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/nuttx/sched/task_start.c b/nuttx/sched/task_start.c
index 5d1e74180..a9cc38dfc 100644
--- a/nuttx/sched/task_start.c
+++ b/nuttx/sched/task_start.c
@@ -2,7 +2,7 @@
* sched/task_start.c
*
* Copyright (C) 2007-2010 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
@@ -77,10 +77,9 @@
* Name: task_start
*
* Description:
- * This function is the low level entry point
- * into the main thread of execution of a task. It receives
- * initial control when the task is started and calls main
- * entry point of the newly started task.
+ * This function is the low level entry point into the main thread of
+ * execution of a task. It receives initial control when the task is
+ * started and calls main entry point of the newly started task.
*
* Inputs:
* None
@@ -99,12 +98,12 @@ void task_start(void)
for (argc = 1; argc <= CONFIG_MAX_TASK_ARGS; argc++)
{
- /* The first non-null argument terminates the list */
+ /* The first non-null argument terminates the list */
- if (!tcb->argv[argc])
- {
- break;
- }
+ if (!tcb->argv[argc])
+ {
+ break;
+ }
}
/* Call the 'main' entry point passing argc and argv. If/when