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/sdlog | |
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/sdlog')
-rw-r--r-- | src/modules/sdlog/sdlog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/sdlog/sdlog.c b/src/modules/sdlog/sdlog.c index 84a9eb6ac..c22523bf2 100644 --- a/src/modules/sdlog/sdlog.c +++ b/src/modules/sdlog/sdlog.c @@ -161,7 +161,7 @@ bool logging_enabled = true; * 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 sdlog_main(int argc, char *argv[]) { @@ -177,7 +177,7 @@ int sdlog_main(int argc, char *argv[]) } thread_should_exit = false; - deamon_task = task_spawn("sdlog", + deamon_task = task_spawn_cmd("sdlog", SCHED_DEFAULT, SCHED_PRIORITY_DEFAULT - 30, 4096, |