use SEM_INITIALIZER inside of NXSEM_INITIALIZER

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao
2022-10-19 23:57:25 +08:00
committed by Xiang Xiao
parent 5724c6b2e4
commit e1ca516488
45 changed files with 122 additions and 130 deletions

View File

@@ -78,7 +78,7 @@ struct bt_conn_handoff_s
static struct bt_conn_s g_conns[CONFIG_BLUETOOTH_MAX_CONN];
static struct bt_conn_handoff_s g_conn_handoff =
{
NXSEM_INITIALIZER(1, PRIOINHERIT_FLAGS_DISABLE),
SEM_INITIALIZER(1),
NULL
};