fix mocking osal api using ifdef
start to add task_create macro API for osal_none
This commit is contained in:
@@ -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)\
|
||||
|
Reference in New Issue
Block a user