diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-08 08:13:39 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-08 08:13:39 +0100 |
commit | 7d87da700c39b2daff60aa923bf3743906693e78 (patch) | |
tree | 5b14cad73810c77d757ad5d6770d73c1a1d432cf /src | |
parent | 61437a5587b20e7e3c79fd1ab91e945dc0c316fb (diff) | |
download | px4-firmware-7d87da700c39b2daff60aa923bf3743906693e78.tar.gz px4-firmware-7d87da700c39b2daff60aa923bf3743906693e78.tar.bz2 px4-firmware-7d87da700c39b2daff60aa923bf3743906693e78.zip |
commander: Adjust stack size to real use
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/commander/commander.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index cd1db4e51..710ed85a1 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -966,7 +966,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, 2400); + pthread_attr_setstacksize(&commander_low_prio_attr, 2000); struct sched_param param; (void)pthread_attr_getschedparam(&commander_low_prio_attr, ¶m); |