diff options
| author | hathach <[email protected]> | 2013-04-23 15:35:27 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-04-23 15:35:27 +0700 |
| commit | 73d5f00a40dcdc9a84e0f915d0ff349f231444c6 (patch) | |
| tree | 309c3552bc787e8b76566ed2c750455587411ca5 /tinyusb/osal/osal.h | |
| parent | 0b9f553f81fd524071ae8f7767c6a260f67ee789 (diff) | |
rename OSAL_TASK_DECLARE to OSAL_TASK_FUNCTION
removing TASK_ASSERT to avoid using goto/continue statement with rtos configure
Diffstat (limited to 'tinyusb/osal/osal.h')
| -rw-r--r-- | tinyusb/osal/osal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/osal/osal.h b/tinyusb/osal/osal.h index 531911a7c..91ad3be45 100644 --- a/tinyusb/osal/osal.h +++ b/tinyusb/osal/osal.h @@ -89,7 +89,7 @@ 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_DECLARE(task_name) \ +#define OSAL_TASK_FUNCTION(task_name) \ void task_name(void) #define OSAL_TASK_LOOP_BEGIN |
