Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-rtos by
Diff: rtos/Thread.cpp
- Revision:
- 115:11950e007d8a
- Parent:
- 112:53ace74b190c
- Child:
- 118:6635230e06ba
diff -r 031a41d65add -r 11950e007d8a rtos/Thread.cpp --- a/rtos/Thread.cpp Fri May 06 19:15:13 2016 +0100 +++ b/rtos/Thread.cpp Tue May 17 13:00:14 2016 +0100 @@ -34,7 +34,7 @@ Thread::Thread(void (*task)(void const *argument), void *argument, osPriority priority, uint32_t stack_size, unsigned char *stack_pointer) { -#ifdef __MBED_CMSIS_RTOS_CM +#if defined(__MBED_CMSIS_RTOS_CA9) || defined(__MBED_CMSIS_RTOS_CM) _thread_def.pthread = task; _thread_def.tpriority = priority; _thread_def.stacksize = stack_size;