2121 */
2222#include " rtos/Thread.h"
2323#include " rtos/ThisThread.h"
24+
25+ #include " mbed.h"
2426#include " rtos/rtos_idle.h"
2527#include " rtos/rtos_handlers.h"
26- #include " platform/mbed_assert.h"
27- #include " platform/mbed_error.h"
28+ #include " mbed_assert.h"
2829
2930#define ALIGN_UP (pos, align ) ((pos) % (align) ? (pos) + ((align) - (pos) % (align)) : (pos))
3031MBED_STATIC_ASSERT (ALIGN_UP(0 , 8 ) == 0, "ALIGN_UP macro error");
@@ -67,7 +68,7 @@ void Thread::constructor(osPriority priority,
6768 constructor (MBED_TZ_DEFAULT_ACCESS, priority, stack_size, stack_mem, name);
6869}
6970
70- void Thread::constructor (mbed:: Callback<void ()> task,
71+ void Thread::constructor (Callback<void ()> task,
7172 osPriority priority, uint32_t stack_size, unsigned char *stack_mem, const char *name)
7273{
7374 constructor (MBED_TZ_DEFAULT_ACCESS, priority, stack_size, stack_mem, name);
@@ -86,7 +87,7 @@ void Thread::constructor(mbed::Callback<void()> task,
8687 }
8788}
8889
89- osStatus Thread::start (mbed:: Callback<void ()> task)
90+ osStatus Thread::start (Callback<void ()> task)
9091{
9192 _mutex.lock ();
9293
0 commit comments