add TUSB_CFG_HOST_CONTROLLER_START_INDEX

update usbh_init and test code for TUSB_CFG_HOST_CONTROLLER_START_INDEX
clean up some
This commit is contained in:
hathach
2013-02-08 12:12:10 +07:00
parent ef0e105da6
commit 489b98cb93
7 changed files with 104 additions and 79 deletions

View File

@@ -51,10 +51,6 @@
#ifndef _TUSB_OSAL_FREERTOS_H_
#define _TUSB_OSAL_FREERTOS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "osal_common.h"
//------------- FreeRTOS Headers -------------//
@@ -62,6 +58,10 @@
#include "semphr.h"
#include "queue.h"
#ifdef __cplusplus
extern "C" {
#endif
//--------------------------------------------------------------------+
// TICK API
//--------------------------------------------------------------------+