Increase dataman stack size for 64 bit targets

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2021-08-12 16:15:47 +03:00 committed by Daniel Agar
parent 62aa9c9f34
commit 8cf121fc9d

View File

@ -1229,7 +1229,8 @@ start()
px4_sem_setprotocol(&g_init_sema, SEM_PRIO_NONE);
/* start the worker thread with low priority for disk IO */
if ((task = px4_task_spawn_cmd("dataman", SCHED_DEFAULT, SCHED_PRIORITY_DEFAULT - 10, TASK_STACK_SIZE, task_main,
if ((task = px4_task_spawn_cmd("dataman", SCHED_DEFAULT, SCHED_PRIORITY_DEFAULT - 10,
PX4_STACK_ADJUSTED(TASK_STACK_SIZE), task_main,
nullptr)) < 0) {
px4_sem_destroy(&g_init_sema);
PX4_ERR("task start failed");