diff options
author | Brian Cully <bjc@kublai.com> | 2019-07-28 09:38:29 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2019-07-28 09:38:29 -0400 |
commit | 3a9c8e5c3524d2cf19a5ce3181af9ccb0337650f (patch) | |
tree | f7138c58da557f79b350792d8b3d5f63397dfb53 /usbh | |
parent | e832ef6cc3a14701b176450f9406f5d6ff7ae321 (diff) | |
download | samd21-demo-3a9c8e5c3524d2cf19a5ce3181af9ccb0337650f.tar.gz samd21-demo-3a9c8e5c3524d2cf19a5ce3181af9ccb0337650f.zip |
Post-SetAddress settle delay is actually 2ms.
Diffstat (limited to 'usbh')
-rw-r--r-- | usbh/src/device.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |