diff options
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 4faca3d5c..e4827bf37 100644 --- a/tinyusb/osal/osal.h +++ b/tinyusb/osal/osal.h @@ -72,10 +72,10 @@ //------------- Sub Task -------------//
#define OSAL_SUBTASK_BEGIN
- #define OSAL_SUBTASK_END return TUSB_ERROR_NONE;
+ #define OSAL_SUBTASK_END return TUSB_ERROR_NONE;
- #define SUBTASK_RETURN(error) return error;
- #define SUBTASK_INVOKE(subtask, status) status = subtask
+ #define SUBTASK_RETURN(_error) return _error;
+ #define SUBTASK_INVOKE(_subtask, _status) (_status) = _subtask
//------------- Sub Task Assert -------------//
#define SUBTASK_ASSERT_STATUS(sts) VERIFY_STATUS(sts)
|
