mirror of
https://github.com/cathery/sys-con.git
synced 2024-10-04 21:39:43 +00:00
Fix multiple controllers being removed on unplug
This commit is contained in:
parent
f96a167714
commit
cbe4e5a39b
@ -265,7 +265,7 @@ Result mainLoop()
|
|||||||
WriteToLog("Interface state was changed");
|
WriteToLog("Interface state was changed");
|
||||||
eventClear(usbHsGetInterfaceStateChangeEvent());
|
eventClear(usbHsGetInterfaceStateChangeEvent());
|
||||||
|
|
||||||
UsbHsInterface interfaces[4];
|
UsbHsInterface interfaces[16];
|
||||||
s32 total_entries;
|
s32 total_entries;
|
||||||
|
|
||||||
rc = usbHsQueryAcquiredInterfaces(interfaces, sizeof(interfaces), &total_entries);
|
rc = usbHsQueryAcquiredInterfaces(interfaces, sizeof(interfaces), &total_entries);
|
||||||
|
Loading…
Reference in New Issue
Block a user