Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2009 16:59:58 GMT
From:      Sylvestre Gallon <syl@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 164285 for review
Message-ID:  <200906131659.n5DGxwPZ027144@repoman.freebsd.org>

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

Change 164285 by syl@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;



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