mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
Apply suggestion from @slouken
This commit is contained in:
parent
501250e350
commit
0c5f206ec9
1 changed files with 1 additions and 2 deletions
|
|
@ -285,8 +285,7 @@ class HIDDeviceUSB implements HIDDevice {
|
|||
UsbInterface iface = mDevice.getInterface(mInterfaceIndex);
|
||||
if (frozen) {
|
||||
mConnection.releaseInterface(iface);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
mConnection.claimInterface(iface, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue