Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2009 19:23:28 GMT
From:      Sylvestre Gallon <syl@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 164887 for review
Message-ID:  <200906221923.n5MJNSrS053359@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=164887

Change 164887 by syl@syl_atuin on 2009/06/22 19:23:19

	Update this code to work with BULK tansfer on uplcom.

Affected files ...

.. //depot/projects/soc2009/syl_usb/libusb-tests/transfers/test2/test2.c#5 edit

Differences ...

==== //depot/projects/soc2009/syl_usb/libusb-tests/transfers/test2/test2.c#5 (text+ko) ====

@@ -30,7 +30,7 @@
 	if ((devh = libusb_open_device_with_vid_pid(ctx, VID_TEST, PID_TEST)) != NULL) {
 		libusb_detach_kernel_driver(devh, 1);
 		dev = libusb_get_device(devh);
-		libusb_bulk_transfer(devh, 0x83, data, STR_SIZE,
+		libusb_bulk_transfer(devh, 0x2, data, STR_SIZE,
 		&transferred, 10000);
 		printf("transfer done.\n");
 	} else {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906221923.n5MJNSrS053359>