aboutsummaryrefslogtreecommitdiffstats
path: root/usbh
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-07-30 11:11:34 -0400
committerBrian Cully <bjc@kublai.com>2019-07-30 11:11:34 -0400
commita932ef8ce392f1009e7c6975b195de8abd1c7f3b (patch)
tree79a4384a706de0a0a8bdc66a43ececc8d1d5b0dd /usbh
parentd94d88faa9c0e1a5c18b21962964dfdda3011a1d (diff)
downloadsamd21-demo-a932ef8ce392f1009e7c6975b195de8abd1c7f3b.tar.gz
samd21-demo-a932ef8ce392f1009e7c6975b195de8abd1c7f3b.zip
Don't require retries when dispatching.
Diffstat (limited to 'usbh')
-rw-r--r--usbh/src/pipe.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/usbh/src/pipe.rs b/usbh/src/pipe.rs
index cd89eb3..9b0eedd 100644
--- a/usbh/src/pipe.rs
+++ b/usbh/src/pipe.rs
@@ -297,8 +297,6 @@ impl Pipe<'_, '_> {
retries: usize,
millis: &dyn Fn() -> usize,
) -> Result<(), PipeErr> {
- assert!(retries > 0);
-
trace!("initial regs");
self.log_regs();