This commit is contained in:
hathach 2018-03-08 14:36:37 +07:00
parent c8e9fb52d4
commit 849d600d88
1 changed files with 1 additions and 2 deletions

View File

@ -127,8 +127,7 @@ static inline osal_task_t osal_task_create(osal_func_t code, const char* name, u
}while(0)
//------------- Sub Task Assert -------------//
#define SUBTASK_RETURN(error) \
do { TASK_RESTART; return error; } while(0)
#define SUBTASK_RETURN(error) do { TASK_RESTART; return error; } while(0)