mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 18:27:56 +08:00
sem:remove sem default protocl
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -154,7 +154,6 @@ static int lirc_open(FAR struct file *filep)
|
||||
}
|
||||
|
||||
nxsem_init(&fh->waitsem, 0, 0);
|
||||
nxsem_set_protocol(&fh->waitsem, SEM_PRIO_NONE);
|
||||
|
||||
fh->lower = lower;
|
||||
fh->send_timeout_reports = true;
|
||||
|
||||
Reference in New Issue
Block a user