mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 14:35:27 +00:00
[bug #41357] OS X: Avrdude messes with the usb stack?
* usb_libusb.c (usbdev_close): Only issue the usb_reset() for Linux systems, as these are the only ones that seem to require it under some circumstances. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1273 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -269,7 +269,7 @@ static void usbdev_close(union filedescriptor *fd)
|
||||
|
||||
(void)usb_release_interface(udev, usb_interface);
|
||||
|
||||
#if !( defined(__FreeBSD__) ) // || ( defined(__APPLE__) && defined(__MACH__) ) )
|
||||
#if defined(__linux__)
|
||||
/*
|
||||
* Without this reset, the AVRISP mkII seems to stall the second
|
||||
* time we try to connect to it. This is not necessary on
|
||||
|
Reference in New Issue
Block a user