remove tusb_isr(), rename hal_hcd_isr() and hal_dcd_isr()

This commit is contained in:
hathach
2018-03-06 17:38:35 +07:00
parent 98f12c9833
commit fce85875c4
13 changed files with 32 additions and 34 deletions

View File

@@ -63,23 +63,6 @@ tusb_error_t tusb_init(void)
return TUSB_ERROR_NONE;
}
/** \ingroup group_application_api
* \brief USB interrupt handler
* \param[in] coreid Controller ID where the interrupt happened
* \note This function must be called by HAL layer or Application for the stack to manage USB events/transfers.
*/
void tusb_isr(uint8_t coreid)
{
#if MODE_HOST_SUPPORTED
hcd_isr(coreid);
#endif
#if MODE_DEVICE_SUPPORTED
dcd_isr(coreid);
#endif
}
#if TUSB_CFG_OS == TUSB_OS_NONE
void tusb_task_runner(void)
{