diff options
| author | hathach <[email protected]> | 2014-03-19 16:50:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-19 16:50:49 +0700 |
| commit | 61657f6751ce96dd2b0c260729061ac0eb2adab4 (patch) | |
| tree | ca36ec255a8e7a1e38393cca2e2151bf6112011f /tinyusb/osal/osal_cmsis_rtx.h | |
| parent | e8138df6a3ffab99fa75ced7d03534d65a2aadaf (diff) | |
change OSAL_TASK_FUNCTION to adapt with cmsis rtx
Diffstat (limited to 'tinyusb/osal/osal_cmsis_rtx.h')
| -rw-r--r-- | tinyusb/osal/osal_cmsis_rtx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tinyusb/osal/osal_cmsis_rtx.h b/tinyusb/osal/osal_cmsis_rtx.h index c65dc911c..3e6297eeb 100644 --- a/tinyusb/osal/osal_cmsis_rtx.h +++ b/tinyusb/osal/osal_cmsis_rtx.h @@ -59,6 +59,8 @@ //--------------------------------------------------------------------+ // TASK API //--------------------------------------------------------------------+ +#define OSAL_TASK_FUNCTION(task_func, p_para) void task_func(void const * p_para) + typedef osThreadDef_t osal_task_t; #define OSAL_TASK_DEF(task_code, task_stack_depth, task_prio) \ |
