workqueue: fix the windows eol

This commit is contained in:
Grissiom 2014-08-20 10:24:41 +08:00
parent b8bf6bef76
commit be0c0481e9
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{