clean up osal task and subtask

This commit is contained in:
hathach
2018-08-30 15:21:15 +07:00
parent 61e4a8c3d3
commit 4ef01d721a
3 changed files with 18 additions and 20 deletions

View File

@@ -61,8 +61,10 @@ enum
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
#include "osal_none.h"
#else
#if CFG_TUSB_OS == OPT_OS_FREERTOS
#include "osal_freeRTOS.h"