Skip to content

Commit b77f84d

Browse files
committed
Merge pull request #1747 from TomoYamanaka/master_branch
Fixed a problem that can not be the task generation in Cortex-A9.
2 parents 909c76f + d0250bb commit b77f84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/rtos/rtos/Thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace rtos {
3434

3535
Thread::Thread(void (*task)(void const *argument), void *argument,
3636
osPriority priority, uint32_t stack_size, unsigned char *stack_pointer) {
37-
#ifdef __MBED_CMSIS_RTOS_CM
37+
#if defined(__MBED_CMSIS_RTOS_CA9) || defined(__MBED_CMSIS_RTOS_CM)
3838
_thread_def.pthread = task;
3939
_thread_def.tpriority = priority;
4040
_thread_def.stacksize = stack_size;

0 commit comments

Comments
 (0)