aboutsummaryrefslogtreecommitdiffstats
path: root/usbh/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'usbh/src/lib.rs')
-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 c4e2426..4bad707 100755
--- a/usbh/src/lib.rs
+++ b/usbh/src/lib.rs
@@ -374,7 +374,7 @@ where
match self.devices.next(self.millis) {
// TODO: new error for being out of devices.
- None => Err(PipeErr::Other),
+ None => Err(PipeErr::Other("out of devices")),
Some(device) => {
device.max_packet_size = desc.b_max_packet_size;
debug!("Setting address to {}.", device.addr);