assert clean up
This commit is contained in:
@@ -46,11 +46,11 @@ tusb_error_t tusb_init(void)
|
||||
VERIFY( tusb_hal_init(), TUSB_ERROR_FAILED ) ; // hardware init
|
||||
|
||||
#if MODE_HOST_SUPPORTED
|
||||
ASSERT_STATUS( usbh_init() ); // host stack init
|
||||
ASSERT_ERR( usbh_init() ); // host stack init
|
||||
#endif
|
||||
|
||||
#if MODE_DEVICE_SUPPORTED
|
||||
ASSERT_STATUS ( usbd_init() ); // device stack init
|
||||
ASSERT_ERR ( usbd_init() ); // device stack init
|
||||
#endif
|
||||
|
||||
return TUSB_ERROR_NONE;
|
||||
|
||||
Reference in New Issue
Block a user