diff options
author | px4dev <px4@purgatory.org> | 2013-06-01 23:31:53 +0200 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-06-01 23:31:53 +0200 |
commit | 23a62342359ba99eb1c6bb1832ba266b442a7e3e (patch) | |
tree | 33c11ab589d24022731074dafe1a3828241f7c86 /src/modules/multirotor_pos_control/multirotor_pos_control.c | |
parent | 198df9c82ef94c17f8fe240957fbef1a796f8712 (diff) | |
download | px4-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/modules/multirotor_pos_control/multirotor_pos_control.c')
-rw-r--r-- | src/modules/multirotor_pos_control/multirotor_pos_control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/multirotor_pos_control/multirotor_pos_control.c b/src/modules/multirotor_pos_control/multirotor_pos_control.c index 7b8d83aa8..f39d11438 100644 --- a/src/modules/multirotor_pos_control/multirotor_pos_control.c +++ b/src/modules/multirotor_pos_control/multirotor_pos_control.c @@ -94,7 +94,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 multirotor_pos_control_main(int argc, char *argv[]) { @@ -110,7 +110,7 @@ int multirotor_pos_control_main(int argc, char *argv[]) } thread_should_exit = false; - deamon_task = task_spawn("multirotor pos control", + deamon_task = task_spawn_cmd("multirotor pos control", SCHED_DEFAULT, SCHED_PRIORITY_MAX - 60, 4096, |