mirror of
https://github.com/apache/nuttx.git
synced 2025-12-07 01:44:23 +08:00
use SEM_INITIALIZER inside of NXSEM_INITIALIZER
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user