We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 909c76f + d0250bb commit b77f84dCopy full SHA for b77f84d
libraries/rtos/rtos/Thread.cpp
@@ -34,7 +34,7 @@ namespace rtos {
34
35
Thread::Thread(void (*task)(void const *argument), void *argument,
36
osPriority priority, uint32_t stack_size, unsigned char *stack_pointer) {
37
-#ifdef __MBED_CMSIS_RTOS_CM
+#if defined(__MBED_CMSIS_RTOS_CA9) || defined(__MBED_CMSIS_RTOS_CM)
38
_thread_def.pthread = task;
39
_thread_def.tpriority = priority;
40
_thread_def.stacksize = stack_size;
0 commit comments