aboutsummaryrefslogtreecommitdiffstats
path: root/usbh/src/pipe.rs
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-07-28 16:46:30 -0400
committerBrian Cully <bjc@kublai.com>2019-07-28 16:46:30 -0400
commita175b1477ad6cfad765eb058dd5e2f2de8833a29 (patch)
tree96419fac102a010af090deb986c9937245836649 /usbh/src/pipe.rs
parent0d2471fef27c6abe5cb34f59f80c5c53ba07da19 (diff)
downloadsamd21-demo-a175b1477ad6cfad765eb058dd5e2f2de8833a29.tar.gz
samd21-demo-a175b1477ad6cfad765eb058dd5e2f2de8833a29.zip
`control_req` -> `control_transfer`.
Same as in/out transfer functions now, and matches USB spec terminology.
Diffstat (limited to 'usbh/src/pipe.rs')
-rw-r--r--usbh/src/pipe.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/usbh/src/pipe.rs b/usbh/src/pipe.rs
index 835ba86..660a21e 100644
--- a/usbh/src/pipe.rs
+++ b/usbh/src/pipe.rs
@@ -101,7 +101,7 @@ pub(crate) struct Pipe<'a, 'b> {
pub(crate) desc: &'a mut PipeDesc,
}
impl Pipe<'_, '_> {
- pub(crate) fn control_req<T>(
+ pub(crate) fn control_transfer<T>(
&mut self,
bm_request_type: RequestType,
b_request: RequestCode,