increase delay between attempts to 100ms

This commit is contained in:
hathach 2022-11-28 23:43:52 +07:00
parent b2a3f33046
commit be6f6f2c99
1 changed files with 1 additions and 1 deletions

View File

@ -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;