aboutsummaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/fixedwing_control/main.c2
-rw-r--r--src/examples/px4_daemon_app/px4_daemon_app.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/fixedwing_control/main.c b/src/examples/fixedwing_control/main.c
index 89fbef020..27888523b 100644
--- a/src/examples/fixedwing_control/main.c
+++ b/src/examples/fixedwing_control/main.c
@@ -528,7 +528,7 @@ int ex_fixedwing_control_main(int argc, char *argv[])
}
thread_should_exit = false;
- deamon_task = task_spawn("ex_fixedwing_control",
+ deamon_task = task_spawn_cmd("ex_fixedwing_control",
SCHED_DEFAULT,
SCHED_PRIORITY_MAX - 20,
2048,
diff --git a/src/examples/px4_daemon_app/px4_daemon_app.c b/src/examples/px4_daemon_app/px4_daemon_app.c
index 4dd5165c8..09065758b 100644
--- a/src/examples/px4_daemon_app/px4_daemon_app.c
+++ b/src/examples/px4_daemon_app/px4_daemon_app.c
@@ -94,7 +94,7 @@ int px4_daemon_app_main(int argc, char *argv[])
}
thread_should_exit = false;
- daemon_task = task_spawn("daemon",
+ daemon_task = task_spawn_cmd("daemon",
SCHED_DEFAULT,
SCHED_PRIORITY_DEFAULT,
4096,