fix mocking osal api using ifdef

start to add task_create macro API for osal_none
This commit is contained in:
hathach
2013-01-30 12:55:44 +07:00
parent 07048b943e
commit 9c9fa182d4
6 changed files with 23 additions and 17 deletions

View File

@@ -73,6 +73,8 @@ typedef uint32_t osal_timeout_t;
// OSAL_TASK_LOOP_ENG
// }
//--------------------------------------------------------------------+
#define osal_task_create(code, name, stack_depth, parameters, prio)
#define OSAL_TASK_LOOP \
static uint16_t state = 0;\
switch(state)\