rename hcd_device_remove to hcd_device_close

This commit is contained in:
hathach
2018-12-12 11:32:46 +07:00
parent c88e16bd11
commit e3514b8054
5 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ static void list_remove_qhd_by_addr(ehci_link_t* list_head, uint8_t dev_addr)
}
// Close all opened endpoint belong to this device
void hcd_device_remove(uint8_t rhport, uint8_t dev_addr)
void hcd_device_close(uint8_t rhport, uint8_t dev_addr)
{
// skip dev0
if (dev_addr == 0) return;