diff options
| author | hathach <[email protected]> | 2014-03-20 13:32:50 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-20 13:32:50 +0700 |
| commit | 34c60cdca30a2106a3bf578b45c9cc4b049310ed (patch) | |
| tree | 2262d1b3e9543dbcc0e17ea064e2d7d1c984d0c3 /tinyusb | |
| parent | ae2ec5126f396bd39721287aaa66d83fd996f09a (diff) | |
fix cmsis rtx warning
IAR host cmsis rtx work with lpc1769
Diffstat (limited to 'tinyusb')
| -rw-r--r-- | tinyusb/osal/osal_cmsis_rtx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/osal/osal_cmsis_rtx.h b/tinyusb/osal/osal_cmsis_rtx.h index cdeef61c3..0495df069 100644 --- a/tinyusb/osal/osal_cmsis_rtx.h +++ b/tinyusb/osal/osal_cmsis_rtx.h @@ -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) |
