all project can run ok

This commit is contained in:
hathach
2013-09-13 22:30:11 +07:00
parent c71f5c6f1b
commit ad0ef2e266
11 changed files with 33 additions and 23 deletions

View File

@@ -88,7 +88,7 @@ static inline uint32_t osal_tick_get(void)
// OSAL_TASK_LOOP_ENG
// }
//--------------------------------------------------------------------+
#define OSAL_TASK_DEF(variable, name, code, stack_depth, prio)
#define OSAL_TASK_DEF(code, stack_depth, prio)
#define osal_task_create(x) TUSB_ERROR_NONE
#define OSAL_TASK_FUNCTION(task_func) \
@@ -267,6 +267,8 @@ typedef osal_queue_t * osal_queue_handle_t;
.item_size = sizeof(type)\
}
#define OSAL_QUEUE_REF(name) (&name)
static inline osal_queue_handle_t osal_queue_create(osal_queue_t * const p_queue) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE;
static inline osal_queue_handle_t osal_queue_create(osal_queue_t * const p_queue)
{