Last active
December 16, 2015 10:29
-
-
Save mheuser/5420908 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git usb_libusb.c usb_libusb.c | |
index c61bdbd..581fa99 100644 | |
--- usb_libusb.c | |
+++ usb_libusb.c | |
@@ -441,6 +441,7 @@ static int usbdev_recv_frame(union filedescriptor *fd, unsigned char *buf, size_ | |
static int usbdev_drain(union filedescriptor *fd, int display) | |
{ | |
+ /* | |
usb_dev_handle *udev = (usb_dev_handle *)fd->usb.handle; | |
int rv; | |
@@ -450,6 +451,7 @@ static int usbdev_drain(union filedescriptor *fd, int display) | |
fprintf(stderr, "%s: usbdev_drain(): flushed %d characters\n", | |
progname, rv); | |
} while (rv > 0); | |
+ */ | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment