diff options
| author | Grissiom <[email protected]> | 2014-08-20 10:24:41 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2014-08-20 10:24:41 +0800 |
| commit | be0c0481e966e4013f4017678ac2b8958b3b77cc (patch) | |
| tree | 3d6b42a65faff231ccc07020dc837b55bccd4fff /components/drivers/src/workqueue.c | |
| parent | b8bf6bef76bdabe76749c752217afbe5d24ba371 (diff) | |
workqueue: fix the windows eol
Diffstat (limited to 'components/drivers/src/workqueue.c')
| -rw-r--r-- | components/drivers/src/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/src/workqueue.c b/components/drivers/src/workqueue.c index 52f6002595..d9062e6cdb 100644 --- a/components/drivers/src/workqueue.c +++ b/components/drivers/src/workqueue.c @@ -33,7 +33,7 @@ static void _workqueue_thread_entry(void* parameter) struct rt_workqueue *rt_workqueue_create(const char* name, rt_uint16_t stack_size, rt_uint8_t priority) { struct rt_workqueue *queue = RT_NULL; -
+ queue = (struct rt_workqueue*)RT_KERNEL_MALLOC(sizeof(struct rt_workqueue)); if (queue != RT_NULL) { |
