diff options
Diffstat (limited to 'tinyusb/osal/osal.h')
| -rw-r--r-- | tinyusb/osal/osal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/osal/osal.h b/tinyusb/osal/osal.h index f0174c080..63ebb0d45 100644 --- a/tinyusb/osal/osal.h +++ b/tinyusb/osal/osal.h @@ -86,8 +86,8 @@ uint32_t osal_tick_get(void); typedef uint32_t osal_task_t; tusb_error_t osal_task_create(osal_task_t *task); -#define OSAL_TASK_DEF(name, code, stack_depth, prio) \ - osal_task_t name +#define OSAL_TASK_DEF(variable, name, code, stack_depth, prio) \ + osal_task_t variable #define OSAL_TASK_FUNCTION(task_name) \ void task_name |
