mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 17:23:34 +08:00
dataman: Reduce stack to 1800, based on real usage of 800 bytes
This commit is contained in:
@@ -793,7 +793,7 @@ start(void)
|
|||||||
sem_init(&g_init_sema, 1, 0);
|
sem_init(&g_init_sema, 1, 0);
|
||||||
|
|
||||||
/* start the worker thread */
|
/* start the worker thread */
|
||||||
if ((task = task_spawn_cmd("dataman", SCHED_DEFAULT, SCHED_PRIORITY_DEFAULT, 2000, task_main, NULL)) <= 0) {
|
if ((task = task_spawn_cmd("dataman", SCHED_DEFAULT, SCHED_PRIORITY_DEFAULT, 1800, task_main, NULL)) <= 0) {
|
||||||
warn("task start failed");
|
warn("task start failed");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user