forked from Archive/PX4-Autopilot
datman: reduce task priority
This commit is contained in:
parent
4b8a385658
commit
885d3e8ca4
|
@ -797,7 +797,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_MAX - 5, 2000, task_main, NULL)) <= 0) {
|
if ((task = task_spawn_cmd("dataman", SCHED_DEFAULT, SCHED_PRIORITY_DEFAULT, 2000, task_main, NULL)) <= 0) {
|
||||||
warn("task start failed");
|
warn("task start failed");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue