fix cmsis rtx warning
IAR host cmsis rtx work with lpc1769
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user