diff options
| author | hathach <[email protected]> | 2018-03-21 20:42:23 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-21 20:42:23 +0700 |
| commit | 17a227ca90ff05f0929cff339cee30d69878c149 (patch) | |
| tree | a638611c5372384b90dbe624a6cb66ccf531cc51 /tinyusb/osal/osal.h | |
| parent | 047bc5eeb1d37ef6fb2d569179848ee4bf56beb7 (diff) | |
osal subtask rename
Diffstat (limited to 'tinyusb/osal/osal.h')
| -rw-r--r-- | tinyusb/osal/osal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tinyusb/osal/osal.h b/tinyusb/osal/osal.h index 55289e404..4faca3d5c 100644 --- a/tinyusb/osal/osal.h +++ b/tinyusb/osal/osal.h @@ -75,14 +75,14 @@ #define OSAL_SUBTASK_END return TUSB_ERROR_NONE;
#define SUBTASK_RETURN(error) return error;
- #define OSAL_SUBTASK_INVOKED(subtask, status) status = subtask
+ #define SUBTASK_INVOKE(subtask, status) status = subtask
//------------- Sub Task Assert -------------//
#define SUBTASK_ASSERT_STATUS(sts) VERIFY_STATUS(sts)
#define SUBTASK_ASSERT(condition) VERIFY(condition, TUSB_ERROR_OSAL_TASK_FAILED)
- #define SUBTASK_ASSERT_STATUS_WITH_HANDLER(sts, func_call) VERIFY_STATUS_HDLR(sts, func_call)
- #define SUBTASK_ASSERT_WITH_HANDLER(condition, func_call) VERIFY_HDLR(condition, func_call)
+ #define SUBTASK_ASSERT_STATUS_HDLR(sts, func_call) VERIFY_STATUS_HDLR(sts, func_call)
+ #define SUBTASK_ASSERT_HDLR(condition, func_call) VERIFY_HDLR(condition, func_call)
#endif
#ifdef __cplusplus
|
