diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-30 00:54:55 -0800 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-30 00:54:55 -0800 |
commit | 3b31a6b1b9756eb191eaaafb1c137e6874079281 (patch) | |
tree | 359f2caf74e019ea452c3b0fdc17a8643bc42651 /src/modules/commander/commander.cpp | |
parent | 70afb3ca3b3f1844241c9c9312579bbb2475232c (diff) | |
parent | 44cb4d96171fae0bcd5dd4bdf5cb668a039727b5 (diff) | |
download | px4-firmware-3b31a6b1b9756eb191eaaafb1c137e6874079281.tar.gz px4-firmware-3b31a6b1b9756eb191eaaafb1c137e6874079281.tar.bz2 px4-firmware-3b31a6b1b9756eb191eaaafb1c137e6874079281.zip |
Merge pull request #620 from pigeonhunter/stack_sizes
Stack sizes
Diffstat (limited to 'src/modules/commander/commander.cpp')
-rw-r--r-- | src/modules/commander/commander.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index add7312de..33589940c 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -237,7 +237,7 @@ int commander_main(int argc, char *argv[]) daemon_task = task_spawn_cmd("commander", SCHED_DEFAULT, SCHED_PRIORITY_MAX - 40, - 3000, + 2088, commander_thread_main, (argv) ? (const char **)&argv[2] : (const char **)NULL); @@ -648,7 +648,7 @@ int commander_thread_main(int argc, char *argv[]) pthread_attr_t commander_low_prio_attr; pthread_attr_init(&commander_low_prio_attr); - pthread_attr_setstacksize(&commander_low_prio_attr, 2992); + pthread_attr_setstacksize(&commander_low_prio_attr, 1728); struct sched_param param; (void)pthread_attr_getschedparam(&commander_low_prio_attr, ¶m); |