summaryrefslogtreecommitdiff
path: root/src/tusb.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-05 13:20:25 +0700
committerhathach <[email protected]>2018-12-05 13:20:25 +0700
commita73017fdc23f7bedf38e754cba3a4ffbcf8d4c27 (patch)
tree04c68202c20a45318ea61d27fede4bfd12e0beac /src/tusb.c
parent6048a3bff48dc588849f83f4088367d20b6bc651 (diff)
hal clean up
- replace tusb_hal_int_enable/disable to dcd_int_enable/disable, hcd_int_enable/disable - remove tusb_hal_init(), this will be part of dcd_init/hcd_init, anything beyond dcd/hcd should be inited by bsp
Diffstat (limited to 'src/tusb.c')
-rw-r--r--src/tusb.c3
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