aboutsummaryrefslogtreecommitdiffstats
path: root/usbh/src/device.rs
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-07-28 09:38:29 -0400
committerBrian Cully <bjc@kublai.com>2019-07-28 09:38:29 -0400
commit3a9c8e5c3524d2cf19a5ce3181af9ccb0337650f (patch)
treef7138c58da557f79b350792d8b3d5f63397dfb53 /usbh/src/device.rs
parente832ef6cc3a14701b176450f9406f5d6ff7ae321 (diff)
downloadsamd21-demo-3a9c8e5c3524d2cf19a5ce3181af9ccb0337650f.tar.gz
samd21-demo-3a9c8e5c3524d2cf19a5ce3181af9ccb0337650f.zip
Post-SetAddress settle delay is actually 2ms.
Diffstat (limited to 'usbh/src/device.rs')
-rw-r--r--usbh/src/device.rs2
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 {