Browse Source

Hotfix: Changed all left-over task_spawn() to task_spawn_cmd()

sbg
Lorenz Meier 12 years ago
parent
commit
2a1bf3018b
  1. 2
      src/examples/fixedwing_control/main.c
  2. 4
      src/examples/flow_position_control/flow_position_control_main.c
  3. 4
      src/examples/flow_position_estimator/flow_position_estimator_main.c
  4. 4
      src/examples/flow_speed_control/flow_speed_control_main.c

2
src/examples/fixedwing_control/main.c

@ -512,7 +512,7 @@ usage(const char *reason) @@ -512,7 +512,7 @@ usage(const char *reason)
* Makefile does only apply to this management task.
*
* The actual stack size should be set in the call
* to task_create().
* to task_spawn_cmd().
*/
int ex_fixedwing_control_main(int argc, char *argv[])
{

4
src/examples/flow_position_control/flow_position_control_main.c

@ -101,7 +101,7 @@ usage(const char *reason) @@ -101,7 +101,7 @@ usage(const char *reason)
* Makefile does only apply to this management task.
*
* The actual stack size should be set in the call
* to task_spawn().
* to task_spawn_cmd().
*/
int flow_position_control_main(int argc, char *argv[])
{
@ -118,7 +118,7 @@ int flow_position_control_main(int argc, char *argv[]) @@ -118,7 +118,7 @@ int flow_position_control_main(int argc, char *argv[])
}
thread_should_exit = false;
deamon_task = task_spawn("flow_position_control",
deamon_task = task_spawn_cmd("flow_position_control",
SCHED_DEFAULT,
SCHED_PRIORITY_MAX - 6,
4096,

4
src/examples/flow_position_estimator/flow_position_estimator_main.c

@ -90,7 +90,7 @@ static void usage(const char *reason) @@ -90,7 +90,7 @@ static void usage(const char *reason)
* Makefile does only apply to this management task.
*
* The actual stack size should be set in the call
* to task_create().
* to task_spawn_cmd().
*/
int flow_position_estimator_main(int argc, char *argv[])
{
@ -107,7 +107,7 @@ int flow_position_estimator_main(int argc, char *argv[]) @@ -107,7 +107,7 @@ int flow_position_estimator_main(int argc, char *argv[])
}
thread_should_exit = false;
daemon_task = task_spawn("flow_position_estimator",
daemon_task = task_spawn_cmd("flow_position_estimator",
SCHED_RR,
SCHED_PRIORITY_MAX - 5,
4096,

4
src/examples/flow_speed_control/flow_speed_control_main.c

@ -99,7 +99,7 @@ usage(const char *reason) @@ -99,7 +99,7 @@ usage(const char *reason)
* Makefile does only apply to this management task.
*
* The actual stack size should be set in the call
* to task_spawn().
* to task_spawn_cmd().
*/
int flow_speed_control_main(int argc, char *argv[])
{
@ -116,7 +116,7 @@ int flow_speed_control_main(int argc, char *argv[]) @@ -116,7 +116,7 @@ int flow_speed_control_main(int argc, char *argv[])
}
thread_should_exit = false;
deamon_task = task_spawn("flow_speed_control",
deamon_task = task_spawn_cmd("flow_speed_control",
SCHED_DEFAULT,
SCHED_PRIORITY_MAX - 6,
4096,

Loading…
Cancel
Save