diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-25 01:30:35 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-26 14:33:56 +0200 |
commit | bbb27b86352337d5e185386212f87664c568e20e (patch) | |
tree | c863030c2f55484f4e50cbbb262036bfd2c66d40 /src | |
parent | 6d41b5d063036593106e22fbdd1fce963eacfbd6 (diff) | |
download | px4-firmware-bbb27b86352337d5e185386212f87664c568e20e.tar.gz px4-firmware-bbb27b86352337d5e185386212f87664c568e20e.tar.bz2 px4-firmware-bbb27b86352337d5e185386212f87664c568e20e.zip |
commander: Reduce excessive stack size
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 5e0346155..42338b832 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -1170,7 +1170,7 @@ int commander_thread_main(int argc, char *argv[]) /* initialize low priority thread */ pthread_attr_t commander_low_prio_attr; pthread_attr_init(&commander_low_prio_attr); - pthread_attr_setstacksize(&commander_low_prio_attr, 2100); + pthread_attr_setstacksize(&commander_low_prio_attr, 2000); struct sched_param param; (void)pthread_attr_getschedparam(&commander_low_prio_attr, ¶m); |