start to add code for hcd_init test

change hcd_init signature (omit hostid)
This commit is contained in:
hathach
2013-02-28 17:00:51 +07:00
parent 82bd4719ce
commit 795fe7468d
7 changed files with 35 additions and 24 deletions

View File

@@ -51,6 +51,16 @@
#ifndef _TUSB_COMPILER_H_
#define _TUSB_COMPILER_H_
#ifdef _TEST_
#define ATTR_ALWAYS_INLINE
#define STATIC_
#define INLINE_
#else
#define STATIC_ static
#define INLINE_ inline
#endif
#if defined(__GNUC__)
#include "compiler_gcc.h"
#elif defined __ICCARM__ // IAR compiler