summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortangyuxin <[email protected]>2021-02-22 11:23:20 +0800
committertangyuxin <[email protected]>2021-02-22 11:23:20 +0800
commit791b8a35deba00ca334ca81c4e451037d05ae883 (patch)
tree32cd55af4e63c5dbd259fb5d118f2a40be9aeb27
parent83692a54c444f07eb4a5e980f696f050f5e924e1 (diff)
[workqueue] 系统默认工作队列初始化阶段提前
-rw-r--r--components/drivers/src/workqueue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/drivers/src/workqueue.c b/components/drivers/src/workqueue.c
index f6bb6114aa..d852b7a4d8 100644
--- a/components/drivers/src/workqueue.c
+++ b/components/drivers/src/workqueue.c
@@ -369,7 +369,6 @@ int rt_work_sys_workqueue_init(void)
return RT_EOK;
}
-
-INIT_DEVICE_EXPORT(rt_work_sys_workqueue_init);
+INIT_PREV_EXPORT(rt_work_sys_workqueue_init);
#endif
#endif