From 3a9c8e5c3524d2cf19a5ce3181af9ccb0337650f Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Sun, 28 Jul 2019 09:38:29 -0400 Subject: Post-SetAddress settle delay is actually 2ms. --- usbh/src/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usbh') diff --git a/usbh/src/device.rs b/usbh/src/device.rs index f14203d..d824aab 100644 --- a/usbh/src/device.rs +++ b/usbh/src/device.rs @@ -13,7 +13,7 @@ const MAX_ENDPOINTS: usize = 8; // How long to wait before talking to the device again after setting // its address. cf ยง9.2.6.3 of USB 2.0 -const SETTLE_DELAY: usize = 300; +const SETTLE_DELAY: usize = 2; #[derive(Copy, Clone, Debug, PartialEq)] pub(crate) enum Error { -- cgit v1.2.3