summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-11-28 23:43:52 +0700
committerhathach <[email protected]>2022-11-28 23:43:52 +0700
commitbe6f6f2c99dde762a70c1c3206e75f5765039bf1 (patch)
tree21ba4f5f3282d0235ec18f4765ec8a5c17410760 /src/host
parentb2a3f33046fe736557ad1a4bc9c0da76e47e68f3 (diff)
increase delay between attempts to 100ms
Diffstat (limited to 'src/host')
-rw-r--r--src/host/usbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index a5abac843..d97b160c9 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -1183,7 +1183,7 @@ static void process_enumeration(tuh_xfer_t* xfer)
// Retry a few times with transfers in enumeration since device can be unstable when starting up
enum {
ATTEMPT_COUNT_MAX = 3,
- ATTEMPT_DELAY_MS = 10
+ ATTEMPT_DELAY_MS = 100
};
static uint8_t failed_count = 0;