mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
clean up
This commit is contained in:
parent
c8e9fb52d4
commit
849d600d88
@ -127,8 +127,7 @@ static inline osal_task_t osal_task_create(osal_func_t code, const char* name, u
|
|||||||
}while(0)
|
}while(0)
|
||||||
|
|
||||||
//------------- Sub Task Assert -------------//
|
//------------- Sub Task Assert -------------//
|
||||||
#define SUBTASK_RETURN(error) \
|
#define SUBTASK_RETURN(error) do { TASK_RESTART; return error; } while(0)
|
||||||
do { TASK_RESTART; return error; } while(0)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user