Merge pull request #12654 from jordan-woyak/gcadapter-timeout

GCAdapter: Adjust libusb transfer timeout to 100ms.
This commit is contained in:
Admiral H. Curtiss 2024-03-22 02:55:30 +01:00 committed by GitHub
commit 4f3b4471f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ namespace GCAdapter
{
#if GCADAPTER_USE_LIBUSB_IMPLEMENTATION
constexpr unsigned int USB_TIMEOUT_MS = 16;
constexpr unsigned int USB_TIMEOUT_MS = 100;
static bool CheckDeviceAccess(libusb_device* device);
static void AddGCAdapter(libusb_device* device);