mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
use SEM_INITIALIZER inside of NXSEM_INITIALIZER
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
struct hp_wqueue_s g_hpwork =
|
||||
{
|
||||
{NULL, NULL},
|
||||
NXSEM_INITIALIZER(0, PRIOINHERIT_FLAGS_DISABLE),
|
||||
SEM_INITIALIZER(0),
|
||||
};
|
||||
|
||||
#endif /* CONFIG_SCHED_HPWORK */
|
||||
@@ -91,7 +91,7 @@ struct hp_wqueue_s g_hpwork =
|
||||
struct lp_wqueue_s g_lpwork =
|
||||
{
|
||||
{NULL, NULL},
|
||||
NXSEM_INITIALIZER(0, PRIOINHERIT_FLAGS_DISABLE),
|
||||
SEM_INITIALIZER(0),
|
||||
};
|
||||
|
||||
#endif /* CONFIG_SCHED_LPWORK */
|
||||
|
||||
Reference in New Issue
Block a user