Update Thread.cpp
This commit is contained in:
parent
9efd293bb9
commit
759848122e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue