-
Notifications
You must be signed in to change notification settings - Fork 11
led3: thread type fix #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Do not use internal rtx type. This will be removed from our includes soon.
The cleanup happens ARMmbed/mbed-os#7364. This fix however do not require it, as the mbed thread storage type is already in the codebase just not used here |
/morph uvisor-test |
All green , should be good to go |
source/led3.cpp
Outdated
@@ -62,7 +62,7 @@ static void led3_main(const void *) | |||
SecureAllocator alloc = secure_allocator_create_with_pages(4 * kB, 1 * kB); | |||
/* Prepare the thread definition structure. */ | |||
osThreadAttr_t thread_attr = {0}; | |||
mbed_rtos_storage_thread_t thread_def = {0}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should use this mbed storage instead, so no RTX types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oren. I was about to send same comment. But Martin was faster.
This is mbed-os-example-* mbed-os types are most appropriate here.
/morph uvisor-test |
Do not use internal rtx type. This will be removed from our includes soon.