fix cmsis rtx warning

IAR host cmsis rtx work with lpc1769
This commit is contained in:
hathach
2014-03-20 13:32:50 +07:00
parent ae2ec5126f
commit 34c60cdca3
3 changed files with 46 additions and 34 deletions

View File

@@ -64,7 +64,7 @@
typedef osThreadDef_t osal_task_t;
#define OSAL_TASK_DEF(task_code, task_stack_depth, task_prio) \
osThreadDef(task_code, task_prio, 1, task_stack_depth*4) // stack depth is in bytes
osThreadDef(task_code, (osPriority) task_prio, 1, task_stack_depth*4) // stack depth is in bytes
#define OSAL_TASK_REF(task_name) osThread(task_name)