rename a bunch of configure macros

This commit is contained in:
hathach
2012-12-20 16:56:19 +07:00
parent ec4a3f6048
commit 00b3f48519
12 changed files with 62 additions and 39 deletions

View File

@@ -41,11 +41,11 @@ TUSB_Error_t tusb_init(void)
{
ASSERT_ERROR( hal_init() ) ; /* HARDWARE INIT */
#ifdef CFG_TUSB_HOST
#ifdef TUSB_CFG_HOST
ASSERT_ERROR( hcd_init(0) );
#endif
#ifdef CFG_TUSB_DEVICE
#ifdef TUSB_CFG_DEVICE
ASSERT_ERROR( dcd_init(0) );
#endif