Skip to content

Commit d8ffa32

Browse files
0xc0170Alexander Zilberkant
authored andcommitted
led3: thread type fix
Do not use internal rtx type. This will be removed from our includes soon.
1 parent 933897b commit d8ffa32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/led3.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static void led3_main(const void *)
6262
SecureAllocator alloc = secure_allocator_create_with_pages(4 * kB, 1 * kB);
6363
/* Prepare the thread definition structure. */
6464
osThreadAttr_t thread_attr = {0};
65-
os_thread_t thread_def = {0};
65+
mbed_rtos_storage_thread_t thread_def = {0};
6666
thread_attr.stack_size = 512;
6767
/* Allocate the stack inside the page allocator! */
6868
thread_attr.stack_mem = (uint32_t *) secure_malloc(alloc, 512);

0 commit comments

Comments
 (0)