mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
test_dataman:Set SEM_PRIO_NONE on all semaphores
This commit is contained in:
committed by
Daniel Agar
parent
1b6700592b
commit
db159a43cc
@@ -179,7 +179,7 @@ int test_dataman(int argc, char *argv[])
|
||||
|
||||
px4_sem_init(sems + i, 1, 0);
|
||||
/* sems use case is a signal */
|
||||
px4_sem_setprotocol(sems, SEM_PRIO_NONE);
|
||||
px4_sem_setprotocol(sems + i, SEM_PRIO_NONE);
|
||||
|
||||
/* start the task */
|
||||
if ((task = px4_task_spawn_cmd("dataman", SCHED_DEFAULT, SCHED_PRIORITY_DEFAULT, 2048, task_main, av)) <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user