File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ namespace rtos {
34
34
35
35
Thread::Thread (osPriority priority,
36
36
uint32_t stack_size, unsigned char *stack_pointer):
37
- _tid (NULL ), _dynamic_stack(stack_pointer == NULL ) {
37
+ _tid (0 ), _dynamic_stack(stack_pointer == NULL ) {
38
38
#if defined(__MBED_CMSIS_RTOS_CA9) || defined(__MBED_CMSIS_RTOS_CM)
39
39
_thread_def.tpriority = priority;
40
40
_thread_def.stacksize = stack_size;
@@ -44,7 +44,7 @@ Thread::Thread(osPriority priority,
44
44
45
45
Thread::Thread (void (*task)(void const *argument), void *argument,
46
46
osPriority priority, uint32_t stack_size, unsigned char *stack_pointer):
47
- _tid (NULL ), _dynamic_stack(stack_pointer == NULL ) {
47
+ _tid (0 ), _dynamic_stack(stack_pointer == NULL ) {
48
48
#if defined(__MBED_CMSIS_RTOS_CA9) || defined(__MBED_CMSIS_RTOS_CM)
49
49
_thread_def.tpriority = priority;
50
50
_thread_def.stacksize = stack_size;
You can’t perform that action at this time.
0 commit comments