osal macro clean up

This commit is contained in:
hathach
2018-03-01 12:14:44 +07:00
parent 40935fc01c
commit 7add7337ba
15 changed files with 32 additions and 41 deletions
+2 -7
View File
@@ -56,11 +56,6 @@
#include "tusb_option.h"
#include "common/common.h"
/*------------- Task -------------*/
/*------------- Queue -------------*/
#if TUSB_CFG_OS == TUSB_OS_NONE
#include "osal_none.h"
@@ -72,8 +67,8 @@
#error TUSB_CFG_OS is not defined or OS is not supported yet
#endif
#define OSAL_TASK_LOOP_BEGIN while(1) {
#define OSAL_TASK_LOOP_END }
#define OSAL_TASK_BEGIN while(1) {
#define OSAL_TASK_END }
//------------- Sub Task -------------//
#define OSAL_SUBTASK_BEGIN