summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-12 11:32:46 +0700
committerhathach <[email protected]>2018-12-12 11:34:09 +0700
commite3514b80543ac2514a80d886255bd8e33b325750 (patch)
tree255981542b7eabdc7b9c78a430ad57982a46d7ae /src/host/hcd.h
parentc88e16bd116a826ebd2d9fb348fd3704f6b1f14d (diff)
rename hcd_device_remove to hcd_device_close
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index 1496d462a..f93cbd2c6 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -108,8 +108,8 @@ bool hcd_port_connect_status(uint8_t hostid);
void hcd_port_reset(uint8_t hostid);
tusb_speed_t hcd_port_speed_get(uint8_t hostid);
-// HCD closs all opened endpoints belong to this device
-void hcd_device_remove(uint8_t rhport, uint8_t dev_addr);
+// HCD closes all opened endpoints belong to this device
+void hcd_device_close(uint8_t rhport, uint8_t dev_addr);
//--------------------------------------------------------------------+
// Event function