diff options
| author | hathach <[email protected]> | 2018-03-01 12:14:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-01 12:14:44 +0700 |
| commit | 7add7337babf0af8f4f2bbd1127e57dc0d580c1d (patch) | |
| tree | 21ce57fd0fa035161b8970e64028778824d19325 /tinyusb/osal/osal.h | |
| parent | 40935fc01ca33b6123c1626f930faf9b48e0b2b0 (diff) | |
osal macro clean up
Diffstat (limited to 'tinyusb/osal/osal.h')
| -rw-r--r-- | tinyusb/osal/osal.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tinyusb/osal/osal.h b/tinyusb/osal/osal.h index 95e36f7b4..4dbeabc11 100644 --- a/tinyusb/osal/osal.h +++ b/tinyusb/osal/osal.h @@ -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
|
