未验证 提交 497a2dd0 编写于 作者: B Bernard Xiong 提交者: GitHub

[Kernel] Remove the restriction of waitqueue

Remove the restriction of RT_USING_POSIX for waitqueue structure.
上级 0cac9afc
......@@ -862,7 +862,6 @@ struct rt_device_ops
rt_err_t (*control)(rt_device_t dev, int cmd, void *args);
};
#if defined(RT_USING_POSIX)
/**
* WaitQueue structure
*/
......@@ -872,7 +871,6 @@ struct rt_wqueue
rt_list_t waiting_list;
};
typedef struct rt_wqueue rt_wqueue_t;
#endif
/**
* Device structure
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册