mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
Fix typo that result in recursion.
Change-Id: Ie1102b4960bcb5acb254eae69b94fe87ab33dd0b Signed-off-by: Mathias K <kesmtp@freenet.de> Reviewed-on: http://openocd.zylin.com/462 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
committed by
Spencer Oliver
parent
0a98914700
commit
d8b912755d
@@ -64,7 +64,7 @@ int jtag_libusb_open(const uint16_t vids[], const uint16_t pids[],
|
||||
void jtag_libusb_close(jtag_libusb_device_handle *dev)
|
||||
{
|
||||
/* Close device */
|
||||
jtag_libusb_close(dev);
|
||||
usb_close(dev);
|
||||
}
|
||||
|
||||
int jtag_libusb_bulk_write(jtag_libusb_device_handle *dev, int ep, char *bytes,
|
||||
|
||||
@@ -74,7 +74,7 @@ int jtag_libusb_open(const uint16_t vids[], const uint16_t pids[],
|
||||
void jtag_libusb_close(jtag_libusb_device_handle *dev)
|
||||
{
|
||||
/* Close device */
|
||||
jtag_libusb_close(dev);
|
||||
libusb_close(dev);
|
||||
|
||||
libusb_exit(jtag_libusb_context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user