Browse Source

Stack size reduced to 1280. Max stack size reported as 1020 with UBX GPS with 3d lock. MTK not tested.

sbg
Darryl Taylor 11 years ago
parent
commit
1d70a65f40
  1. 2
      src/drivers/gps/gps.cpp

2
src/drivers/gps/gps.cpp

@ -209,7 +209,7 @@ GPS::init() @@ -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);

Loading…
Cancel
Save