Update Thread.cpp

This commit is contained in:
mulan 2019-06-25 16:14:58 +08:00 committed by GitHub
parent 9efd293bb9
commit 759848122e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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,