rename hal_* to tusb_hal_*

This commit is contained in:
hathach
2018-03-11 13:01:57 +07:00
parent c39b24001d
commit 0384e40320
14 changed files with 37 additions and 38 deletions

View File

@@ -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;