mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 01:07:21 +00:00
Update Thread.cpp
This commit is contained in:
@@ -37,7 +37,7 @@ Thread::Thread(void (*entry)(void *p),
|
|||||||
rt_event_init(&_event, name, 0);
|
rt_event_init(&_event, name, 0);
|
||||||
|
|
||||||
_thread = rt_thread_create(name,
|
_thread = rt_thread_create(name,
|
||||||
(thread_func_t)entry,
|
(thread_func_t)func,
|
||||||
this,
|
this,
|
||||||
stack_size,
|
stack_size,
|
||||||
priority,
|
priority,
|
||||||
|
|||||||
Reference in New Issue
Block a user