Merge "adb: fix mac build breakage." am: 52c6f1b6de
am: 94a23604c7
Change-Id: Iea69d154f5867affcd4bafdeb77d8eb90bb7059d
This commit is contained in:
commit
0a2e8e94ae
1 changed files with 1 additions and 3 deletions
|
|
@ -557,9 +557,7 @@ int usb_close(usb_handle *handle)
|
||||||
}
|
}
|
||||||
|
|
||||||
void usb_reset(usb_handle* handle) {
|
void usb_reset(usb_handle* handle) {
|
||||||
if (!handle->dead) {
|
// Unimplemented on OS X.
|
||||||
(*handle->interface)->USBDeviceReEnumerate(handle->interface, 0);
|
|
||||||
}
|
|
||||||
usb_kick(handle);
|
usb_kick(handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue