1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-07-05 10:48:46 +00:00

Fix multiple controllers being removed on unplug

This commit is contained in:
cathery 2019-11-22 00:39:35 +03:00
parent f96a167714
commit cbe4e5a39b

View File

@ -265,7 +265,7 @@ Result mainLoop()
WriteToLog("Interface state was changed");
eventClear(usbHsGetInterfaceStateChangeEvent());
UsbHsInterface interfaces[4];
UsbHsInterface interfaces[16];
s32 total_entries;
rc = usbHsQueryAcquiredInterfaces(interfaces, sizeof(interfaces), &total_entries);