aboutsummaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-06-01 23:31:53 +0200
committerpx4dev <px4@purgatory.org>2013-06-01 23:31:53 +0200
commit23a62342359ba99eb1c6bb1832ba266b442a7e3e (patch)
tree33c11ab589d24022731074dafe1a3828241f7c86 /src/examples
parent198df9c82ef94c17f8fe240957fbef1a796f8712 (diff)
downloadpx4-firmware-23a62342359ba99eb1c6bb1832ba266b442a7e3e.tar.gz
px4-firmware-23a62342359ba99eb1c6bb1832ba266b442a7e3e.tar.bz2
px4-firmware-23a62342359ba99eb1c6bb1832ba266b442a7e3e.zip
Rename our 'task_spawn' to 'task_spawn_cmd' since NuttX now has its own version of task_spawn that's different.
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,