Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2010 03:52:04 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212132 - head/sys/dev/usb/input
Message-ID:  <201009020352.o823q4vH090914@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Thu Sep  2 03:52:04 2010
New Revision: 212132
URL: http://svn.freebsd.org/changeset/base/212132

Log:
  Fix UMS_BUTTON_MAX define name

Modified:
  head/sys/dev/usb/input/ums.c

Modified: head/sys/dev/usb/input/ums.c
==============================================================================
--- head/sys/dev/usb/input/ums.c	Thu Sep  2 03:50:11 2010	(r212131)
+++ head/sys/dev/usb/input/ums.c	Thu Sep  2 03:52:04 2010	(r212132)
@@ -480,7 +480,7 @@ ums_hid_parse(struct ums_softc *sc, devi
 
 	/* detect other buttons */
 
-	for (j = 0; (i < UMS_BUTTONS_MAX) && (j < 2); i++, j++) {
+	for (j = 0; (i < UMS_BUTTON_MAX) && (j < 2); i++, j++) {
 		if (!hid_locate(buf, len, HID_USAGE2(HUP_MICROSOFT, (j + 1)),
 		    hid_input, index, &info->sc_loc_btn[i], NULL, 
 		    &info->sc_iid_btn[i])) {



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