diff options
author | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-05-24 15:40:32 +0000 |
---|---|---|
committer | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-05-24 15:40:32 +0000 |
commit | 2952c426dd40a4e8001592ad59f6cd6e3cad7000 (patch) | |
tree | 50cdacc5f8b19302ddd9e92fdecfa5f3dc377cae /src | |
parent | 39dd91ed6be55e63b5a27cb732e20301ee47ab5a (diff) | |
download | openocd+libswd-2952c426dd40a4e8001592ad59f6cd6e3cad7000.tar.gz openocd+libswd-2952c426dd40a4e8001592ad59f6cd6e3cad7000.tar.bz2 openocd+libswd-2952c426dd40a4e8001592ad59f6cd6e3cad7000.tar.xz openocd+libswd-2952c426dd40a4e8001592ad59f6cd6e3cad7000.zip |
- comment out usb_set_altinterface, because it is not working under Mac OS X.
And not needed for Windows. Hopefully it will not break a Linux build.
git-svn-id: svn://svn.berlios.de/openocd/trunk@684 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/jlink.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index 3d2468e1..16bd30d0 100644 --- a/src/jtag/jlink.c +++ b/src/jtag/jlink.c @@ -763,7 +763,14 @@ jlink_jtag_t* jlink_usb_open() /* usb_set_configuration required under win32 */ usb_set_configuration(result->usb_handle, dev->config[0].bConfigurationValue); usb_claim_interface(result->usb_handle, 0); + +#if 0 + /* + * This makes problems under Mac OS X. And is not needed + * under Windows. Hopefully this will not break a linux build + */ usb_set_altinterface(result->usb_handle, 0); +#endif return result; } } |