aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usbh/src/pipe.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/usbh/src/pipe.rs b/usbh/src/pipe.rs
index 56acc00..2823dbe 100644
--- a/usbh/src/pipe.rs
+++ b/usbh/src/pipe.rs
@@ -165,8 +165,6 @@ impl Pipe<'_, '_> {
RequestDirection::HostToDevice => USBToken::In,
};
- // TODO: should probably make `pipe.send` have optional
- // `DataBuf`, rather than exposing `dispatch_retries`.
trace!("dispatching status stage");
self.dispatch_retries(token, NAK_LIMIT, millis)?;
Ok(())
@@ -292,7 +290,7 @@ impl Pipe<'_, '_> {
// This is the only function that calls `millis`. If we can make
// this just take the current timestamp, we can make this
// non-blocking.
- pub(crate) fn dispatch_retries(
+ fn dispatch_retries(
&mut self,
token: USBToken,
retries: usize,