aboutsummaryrefslogtreecommitdiffstats
path: root/usbh/src
diff options
context:
space:
mode:
Diffstat (limited to 'usbh/src')
-rwxr-xr-xusbh/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/usbh/src/lib.rs b/usbh/src/lib.rs
index 38d1327..e15f279 100755
--- a/usbh/src/lib.rs
+++ b/usbh/src/lib.rs
@@ -375,7 +375,7 @@ where
match self.devices.next(self.millis) {
// TODO: new error for being out of devices.
- None => return Err(PipeErr::Other),
+ None => Err(PipeErr::Other),
Some(device) => {
device.max_packet_size = desc.b_max_packet_size;
debug!("Setting address to {}.", device.addr);