diff options
author | Darryl Taylor <darryl.c.taylor@gmail.com> | 2014-01-29 17:52:22 +0800 |
---|---|---|
committer | Darryl Taylor <darryl.c.taylor@gmail.com> | 2014-01-29 17:52:22 +0800 |
commit | 1d70a65f40895b0c9e1ee5c65970efa1eae841e8 (patch) | |
tree | 96610b057e6f6d140a576a4c1055c8b67880c1ef /src | |
parent | 0cc311b872c688f2242a4745cd3a6de4933c9e62 (diff) | |
download | px4-firmware-1d70a65f40895b0c9e1ee5c65970efa1eae841e8.tar.gz px4-firmware-1d70a65f40895b0c9e1ee5c65970efa1eae841e8.tar.bz2 px4-firmware-1d70a65f40895b0c9e1ee5c65970efa1eae841e8.zip |
Stack size reduced to 1280. Max stack size reported as 1020 with UBX GPS with 3d lock. MTK not tested.
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/gps/gps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/gps/gps.cpp b/src/drivers/gps/gps.cpp index 6b72d560f..f2faf711b 100644 --- a/src/drivers/gps/gps.cpp +++ b/src/drivers/gps/gps.cpp @@ -209,7 +209,7 @@ GPS::init() goto out; /* start the GPS driver worker task */ - _task = task_create("gps", SCHED_PRIORITY_SLOW_DRIVER, 2048, (main_t)&GPS::task_main_trampoline, nullptr); + _task = task_create("gps", SCHED_PRIORITY_SLOW_DRIVER, 1280, (main_t)&GPS::task_main_trampoline, nullptr); if (_task < 0) { warnx("task start failed: %d", errno); |