commit | b8b7fd61d235fbc97791dcf7f70372b192e1047d | [log] [tgz] |
---|---|---|
author | osy <50960678+osy@users.noreply.github.com> | Tue May 11 20:36:31 2021 -0700 |
committer | Nathan Hjelm <hjelmn@google.com> | Sun May 16 15:13:42 2021 -0600 |
tree | 9e38e368b7ad88e8a9cefc8cfb083013d23ca32b | |
parent | 1001cb5558cf6679af7bce3114bba1d3bb7b6f7f [diff] |
darwin: add timeout for reset reenumerate USBDeviceReEnumerate() does not return an error code (bug?) so if it fails we could be stuck waiting forever. Set a sane timeout to 10s. Signed-off-by: Nathan Hjelm <hjelmn@google.com>