Browse Source

Reduced stack size to 2568. Max stack usage reported as 2052 with MARG + GPS with 3d lock - no px4flow, but should be more than enough buffer to accomodate its addition.

sbg
Darryl Taylor 11 years ago
parent
commit
0cc311b872
  1. 2
      src/modules/position_estimator_inav/position_estimator_inav_main.c

2
src/modules/position_estimator_inav/position_estimator_inav_main.c

@ -128,7 +128,7 @@ int position_estimator_inav_main(int argc, char *argv[]) @@ -128,7 +128,7 @@ int position_estimator_inav_main(int argc, char *argv[])
thread_should_exit = false;
position_estimator_inav_task = task_spawn_cmd("position_estimator_inav",
SCHED_RR, SCHED_PRIORITY_MAX - 5, 4096,
SCHED_RR, SCHED_PRIORITY_MAX - 5, 2568,
position_estimator_inav_thread_main,
(argv) ? (const char **) &argv[2] : (const char **) NULL);
exit(0);

Loading…
Cancel
Save