mirror of
https://github.com/apache/nuttx.git
synced 2026-08-14 08:53:15 +00:00
sem:remove sem default protocl
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
205c8934a3
commit
5724c6b2e4
216 changed files with 2 additions and 1155 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue