diff options
author | px4dev <px4@purgatory.org> | 2012-10-03 23:13:20 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-10-03 23:13:20 -0700 |
commit | dfae108e6aff6e77eb05def50d99fb5c6d2c28c8 (patch) | |
tree | 57478848a3c87b66978eef5ae986882aed93b598 /apps/sdlog | |
parent | 216aa20ac278c55931d618bb2ebf8b7bc1a3614b (diff) | |
download | px4-firmware-dfae108e6aff6e77eb05def50d99fb5c6d2c28c8.tar.gz px4-firmware-dfae108e6aff6e77eb05def50d99fb5c6d2c28c8.tar.bz2 px4-firmware-dfae108e6aff6e77eb05def50d99fb5c6d2c28c8.zip |
Go back to the FIFO scheduler for now, as we don't have time to shake out the RR scheduler changeover just yet.
Make the "default" scheduler a centralized definition so that changes are easier in future.
Diffstat (limited to 'apps/sdlog')
-rw-r--r-- | apps/sdlog/sdlog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sdlog/sdlog.c b/apps/sdlog/sdlog.c index 0426dfb9c..22b8d82ee 100644 --- a/apps/sdlog/sdlog.c +++ b/apps/sdlog/sdlog.c @@ -109,7 +109,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_create(). + * to task_spawn(). */ int sdlog_main(int argc, char *argv[]) { @@ -126,7 +126,7 @@ int sdlog_main(int argc, char *argv[]) thread_should_exit = false; deamon_task = task_spawn("sdlog", - SCHED_RR, + SCHED_DEFAULT, SCHED_PRIORITY_DEFAULT - 30, 4096, sdlog_thread_main, |