diff options
author | Darryl Taylor <darryl.c.taylor@gmail.com> | 2014-01-28 10:43:33 +0800 |
---|---|---|
committer | Darryl Taylor <darryl.c.taylor@gmail.com> | 2014-01-28 10:43:33 +0800 |
commit | 0488d5b41c5c91658494242f778c7b9de99bcca4 (patch) | |
tree | 8003bd46aa2474565e92b20115f3e9af333ebfde /src/modules/commander | |
parent | d1fb7651876236432dc66c5331c60258ff962352 (diff) | |
download | px4-firmware-0488d5b41c5c91658494242f778c7b9de99bcca4.tar.gz px4-firmware-0488d5b41c5c91658494242f778c7b9de99bcca4.tar.bz2 px4-firmware-0488d5b41c5c91658494242f778c7b9de99bcca4.zip |
Reduced commander main task stack size to 2088. The high-water-mark measured at 1668 after calibration and flight. 25% safety margin, but commander is fairly complex. There are surely untested code paths here, but each is relatively shallow.
Diffstat (limited to 'src/modules/commander')
-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 6f15e0702..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); |