diff options
author | Brian Cully <bjc@kublai.com> | 2019-07-27 18:51:13 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2019-07-27 18:51:13 -0400 |
commit | 3aa4cd4dd212092eacaa9286eb46427721674c87 (patch) | |
tree | 5bebfc8c5364b249df10ecd30174ba04b60c13eb /usbh/src | |
parent | 2b6941ef833cd9cfbc403d52f388065fc8d065cb (diff) | |
download | samd21-demo-3aa4cd4dd212092eacaa9286eb46427721674c87.tar.gz samd21-demo-3aa4cd4dd212092eacaa9286eb46427721674c87.zip |
Remove un-needed return.
Diffstat (limited to 'usbh/src')
-rwxr-xr-x | usbh/src/lib.rs | 2 |
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); |