Skip to content

Commit c5d0262

Browse files
author
Alexander Zilberkant
authored
Use mbed-os thread storage type
1 parent 767c333 commit c5d0262

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-
osRtxThread_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)