Rename function to destroy a list of USB devices
Rename from "usb_device_" to "usb_devices_". PR #3005 <https://github.com/Genymobile/scrcpy/pull/3005>
This commit is contained in:
@@ -442,7 +442,7 @@ scrcpy(struct scrcpy_options *options) {
|
||||
|
||||
if (count > 1) {
|
||||
LOGE("Multiple (%d) devices with serial %s", (int) count, serial);
|
||||
sc_usb_device_destroy_all(usb_devices, count);
|
||||
sc_usb_devices_destroy_all(usb_devices, count);
|
||||
sc_usb_destroy(&s->usb);
|
||||
sc_acksync_destroy(&s->acksync);
|
||||
goto aoa_hid_end;
|
||||
|
||||
Reference in New Issue
Block a user