summaryrefslogtreecommitdiff
path: root/src/osal/osal.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-11-14 16:31:28 +0700
committerhathach <[email protected]>2018-11-14 16:31:28 +0700
commit10bf41f718ea867a3621e11b4c49e72605bbcc89 (patch)
tree788f3613c3a2c0ec500dda16fcb7ae5ed2062513 /src/osal/osal.h
parent5732be224c69c35efdc44f250e83e42cf52e2526 (diff)
change osal_queue_receive() signature
- fix build issue with freertos
Diffstat (limited to 'src/osal/osal.h')
-rw-r--r--src/osal/osal.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/osal/osal.h b/src/osal/osal.h
index 2ca06f66e..6846b5757 100644
--- a/src/osal/osal.h
+++ b/src/osal/osal.h
@@ -62,10 +62,6 @@ typedef void (*osal_task_func_t)( void * );
#if CFG_TUSB_OS == OPT_OS_NONE
#include "osal_none.h"
-
- #define OSAL_TASK_BEGIN
- #define OSAL_TASK_END
-
#else
/* RTOS Porting API
*
@@ -105,8 +101,7 @@ typedef void (*osal_task_func_t)( void * );
#error CFG_TUSB_OS is not defined or OS is not supported yet
#endif
- #define OSAL_TASK_BEGIN while(1) {
- #define OSAL_TASK_END }
+ // TODO remove subtask related macros later
//------------- Sub Task -------------//
#define OSAL_SUBTASK_BEGIN