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 a5d847777..fbb38e4b9 100644
--- a/src/examples/px4_daemon_app/px4_daemon_app.c
+++ b/src/examples/px4_daemon_app/px4_daemon_app.c
@@ -91,7 +91,7 @@ int px4_deamon_app_main(int argc, char *argv[])
}
thread_should_exit = false;
- deamon_task = task_spawn("deamon",
+ deamon_task = task_spawn_cmd("deamon",
SCHED_DEFAULT,
SCHED_PRIORITY_DEFAULT,
4096,