File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
components/libc/cplusplus/os Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ using namespace rtthread;
1919 * @param name Thread name
2020 */
2121Thread::Thread (rt_uint32_t stack_size,
22- rt_uint8_t priority,
22+ rt_uint8_t priority,
2323 rt_uint32_t tick,
24- const char *name)
25- : _entry(RT_NULL), _param(RT_NULL), started(false )
24+ const char *name) :
25+ _entry(RT_NULL), _param(RT_NULL), started(false )
2626{
2727 rt_event_init (&_event, name, 0 );
2828
@@ -46,10 +46,10 @@ Thread::Thread(rt_uint32_t stack_size,
4646Thread::Thread (void (*entry)(void *p),
4747 void *p,
4848 rt_uint32_t stack_size,
49- rt_uint8_t priority,
49+ rt_uint8_t priority,
5050 rt_uint32_t tick,
51- const char *name)
52- : _entry(entry), _param(p), started(false )
51+ const char *name) :
52+ _entry(entry), _param(p), started(false )
5353{
5454 rt_event_init (&_event, name, 0 );
5555
You can’t perform that action at this time.
0 commit comments