Merge pull request #1747 from TomoYamanaka/master_branch

Fixed a problem that can not be the task generation in Cortex-A9.
pull/1749/head
Martin Kojtal 2016-05-17 12:56:08 +01:00
commit b77f84df32
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ namespace rtos {
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;