PERFORCE change 164887 for review

Sylvestre Gallon syl at FreeBSD.org
Mon Jun 22 19:23:30 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=164887

Change 164887 by syl at 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 {


More information about the p4-projects mailing list