mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
sem:remove sem default protocl
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -841,7 +841,6 @@ int foc_register(FAR const char *path, FAR struct foc_dev_s *dev)
|
||||
|
||||
nxmutex_init(&dev->closelock);
|
||||
nxsem_init(&dev->statesem, 0, 0);
|
||||
nxsem_set_protocol(&dev->statesem, SEM_PRIO_NONE);
|
||||
|
||||
/* Register the FOC character driver */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user