diff options
| author | hathach <[email protected]> | 2018-03-11 13:01:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-11 13:01:57 +0700 |
| commit | 0384e40320605aa7b2b28777f41feabcc3b3f130 (patch) | |
| tree | 7593065e5b6f8aa01ddda91db7297d8144d6d940 /tinyusb/tusb.c | |
| parent | c39b24001d57a128dc0d094c509ae4ed3998e617 (diff) | |
rename hal_* to tusb_hal_*
Diffstat (limited to 'tinyusb/tusb.c')
| -rw-r--r-- | tinyusb/tusb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tinyusb/tusb.c b/tinyusb/tusb.c index cf94c1b23..b9af2092f 100644 --- a/tinyusb/tusb.c +++ b/tinyusb/tusb.c @@ -42,7 +42,7 @@ tusb_error_t tusb_init(void)
{
- VERIFY( hal_usb_init(), TUSB_ERROR_FAILED ) ; // hardware init
+ VERIFY( tusb_hal_init(), TUSB_ERROR_FAILED ) ; // hardware init
#if MODE_HOST_SUPPORTED
ASSERT_STATUS( usbh_init() ); // host stack init
@@ -53,11 +53,11 @@ tusb_error_t tusb_init(void) #endif
#if (TUSB_CFG_CONTROLLER_0_MODE)
- hal_usb_int_enable(0);
+ tusb_hal_init_enable(0);
#endif
#if (TUSB_CFG_CONTROLLER_1_MODE)
- hal_usb_int_enable(1);
+ tusb_hal_init_enable(1);
#endif
return TUSB_ERROR_NONE;
|
