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/systemlib | |
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/systemlib')
-rw-r--r-- | src/modules/systemlib/systemlib.c | 2 | ||||
-rw-r--r-- | src/modules/systemlib/systemlib.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/systemlib/systemlib.c b/src/modules/systemlib/systemlib.c index 7814950fc..3283aad8a 100644 --- a/src/modules/systemlib/systemlib.c +++ b/src/modules/systemlib/systemlib.c @@ -65,7 +65,7 @@ static void kill_task(FAR struct tcb_s *tcb, FAR void *arg) kill(tcb->pid, SIGUSR1); } -int task_spawn(const char *name, int scheduler, int priority, int stack_size, main_t entry, const char *argv[]) +int task_spawn_cmd(const char *name, int scheduler, int priority, int stack_size, main_t entry, const char *argv[]) { int pid; diff --git a/src/modules/systemlib/systemlib.h b/src/modules/systemlib/systemlib.h index ff9328b90..0194b5e52 100644 --- a/src/modules/systemlib/systemlib.h +++ b/src/modules/systemlib/systemlib.h @@ -58,7 +58,7 @@ __EXPORT void killall(void); #endif /** Starts a task and performs any specific accounting, scheduler setup, etc. */ -__EXPORT int task_spawn(const char *name, +__EXPORT int task_spawn_cmd(const char *name, int priority, int scheduler, int stack_size, |