diff options
| author | hathach <[email protected]> | 2018-12-05 14:02:48 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-12-05 14:02:48 +0700 |
| commit | cf60b206528fc955bbdd1bfec2c7016a985313ea (patch) | |
| tree | 50411de91abbd898b9f191932dc256dd30637bd6 /src/tusb.c | |
| parent | 861e7e6a7982c3e2b7e3c05b566eb06cd32b15c4 (diff) | |
| parent | 734b3ada8a57ca4c8c90a7502c5547a891886481 (diff) | |
Merge pull request #18 from hathach/devlocal
Devlocal
Diffstat (limited to 'src/tusb.c')
| -rw-r--r-- | src/tusb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tusb.c b/src/tusb.c index e9db184f2..81c4907fb 100644 --- a/src/tusb.c +++ b/src/tusb.c @@ -47,14 +47,11 @@ static bool _initialized = false;
-
tusb_error_t tusb_init(void)
{
// skip if already initialized
if (_initialized) return TUSB_ERROR_NONE;
- TU_VERIFY( tusb_hal_init(), TUSB_ERROR_FAILED ) ; // hardware init
-
#if MODE_HOST_SUPPORTED
TU_ASSERT_ERR( usbh_init() ); // host stack init
#endif
|
