diff options
| author | mulan <[email protected]> | 2019-06-25 16:14:58 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-06-25 16:14:58 +0800 |
| commit | 759848122e47775cfd8a0e9e3e7a2fa7189754c4 (patch) | |
| tree | d88821f6aae1f0f5bb85924612a02502713473ce /components | |
| parent | 9efd293bb99aa22ffe78b22f31ed1844e0ff3114 (diff) | |
Update Thread.cpp
Diffstat (limited to 'components')
| -rw-r--r-- | components/cplusplus/Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/cplusplus/Thread.cpp b/components/cplusplus/Thread.cpp index 26043a3581..9b2a2ad5e0 100644 --- a/components/cplusplus/Thread.cpp +++ b/components/cplusplus/Thread.cpp @@ -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, |
