PERFORCE change 164285 for review
Sylvestre Gallon
syl at FreeBSD.org
Sat Jun 13 17:00:00 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=164285
Change 164285 by syl at syl_atuin on 2009/06/13 16:58:58
- Remove debug printf in libusb10_desc.c.
- Implement test3 that test libusb_get_max_packet_size().
Affected files ...
.. //depot/projects/soc2009/syl_usb/libusb-tests/basic/Makefile#2 edit
.. //depot/projects/soc2009/syl_usb/libusb-tests/basic/test3/Makefile#1 add
.. //depot/projects/soc2009/syl_usb/libusb-tests/basic/test3/test3.c#1 add
.. //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10.c#28 edit
.. //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10_desc.c#14 edit
Differences ...
==== //depot/projects/soc2009/syl_usb/libusb-tests/basic/Makefile#2 (text+ko) ====
@@ -1,5 +1,6 @@
SUBDIR= test1 \
- test2
+ test2 \
+ test3
test:
.for dir in ${SUBDIR}
==== //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10.c#28 (text+ko) ====
==== //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10_desc.c#14 (text+ko) ====
@@ -118,8 +118,6 @@
nend += pconf->interface[i].num_endpoints;
}
- printf("nif : %i nalt : %i nend : %i\n", nif, nalt, nend);
-
*config = malloc(sizeof(libusb_config_descriptor) +
(nif * sizeof(libusb_interface)) +
(nalt * sizeof(libusb_interface_descriptor)) +
@@ -170,8 +168,6 @@
if ((*config)->extra_length != 0)
(*config)->extra = pconf->extra.ptr;
- printf("nif : %i nalt : %i nend : %i\n", nif, nalt, nend);
-
for (i = 0 ; i < nif ; i++) {
pinf = &pconf->interface[i];
(*config)->interface[i].num_altsetting = pinf->num_altsetting + 1;
More information about the p4-projects
mailing list