diff --git a/platforms/common/px4_work_queue/WorkItemSingleShot.cpp b/platforms/common/px4_work_queue/WorkItemSingleShot.cpp index 77d24e2c2a87..7b2a52f2b47a 100644 --- a/platforms/common/px4_work_queue/WorkItemSingleShot.cpp +++ b/platforms/common/px4_work_queue/WorkItemSingleShot.cpp @@ -48,6 +48,7 @@ WorkItemSingleShot::WorkItemSingleShot(const px4::WorkItem &work_item, worker_me : px4::WorkItem("", work_item), _argument(argument), _method(method) { px4_sem_init(&_sem, 0, 0); + px4_sem_setprotocol(&_sem, SEM_PRIO_NONE); } WorkItemSingleShot::~WorkItemSingleShot()