Update Thread.cpp

This commit is contained in:
mulan
2019-06-25 16:14:58 +08:00
committed by GitHub
parent 9efd293bb9
commit 759848122e

View File

@@ -37,7 +37,7 @@ Thread::Thread(void (*entry)(void *p),
rt_event_init(&_event, name, 0);
_thread = rt_thread_create(name,
(thread_func_t)entry,
(thread_func_t)func,
this,
stack_size,
priority,