replace TUSB_CFG_HOST by MODE_HOST_SUPPORTED

move stuffs around
This commit is contained in:
hathach
2013-03-04 17:07:14 +07:00
parent 94c004724c
commit e1033b9b3c
10 changed files with 35 additions and 32 deletions

View File

@@ -43,7 +43,7 @@ tusb_error_t tusb_init(void)
{
ASSERT_STATUS( hal_init() ) ; // hardware init
#ifdef TUSB_CFG_HOST
#if MODE_HOST_SUPPORTED
ASSERT_STATUS( usbh_init() ); // host stack init
#endif