summaryrefslogtreecommitdiff
path: root/src/host/usbh.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-11 13:12:21 +0700
committerhathach <[email protected]>2018-12-11 13:12:21 +0700
commit0d04e6eb96935723f17969bf43a33532fcebcbf6 (patch)
tree1176f84a968dddb1eb03e5f2f41acf405d9171a7 /src/host/usbh.c
parent7deac61d5f01e96df22e2d02a640c0f528d0109f (diff)
rename to hcd_edpt_open()
Diffstat (limited to 'src/host/usbh.c')
-rw-r--r--src/host/usbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index 3ab3bd71e..ff4343fd2 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -236,7 +236,7 @@ tusb_error_t usbh_pipe_control_open(uint8_t dev_addr, uint8_t max_packet_size)
.bInterval = 0
};
- hcd_pipe_open(_usbh_devices[dev_addr].rhport, dev_addr, &ep0_desc);
+ hcd_edpt_open(_usbh_devices[dev_addr].rhport, dev_addr, &ep0_desc);
return TUSB_ERROR_NONE;
}