aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-10-06 13:22:23 -0700
committerDean Camera <dean@fourwalledcubicle.com>2013-10-06 13:22:23 -0700
commit7ce4d35c3909e0b55d0a184c3d9b2b8cb35b0131 (patch)
tree3abbab4d1860ea31d30d7a72496fc9959fecb858 /Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
parent8e2476a125d6a4bd0385eb0f9569ac597bdbf9ed (diff)
parent9ef29ea2293dde7225360fe258224d22d3a68756 (diff)
downloadlufa-7ce4d35c3909e0b55d0a184c3d9b2b8cb35b0131.tar.gz
lufa-7ce4d35c3909e0b55d0a184c3d9b2b8cb35b0131.tar.bz2
lufa-7ce4d35c3909e0b55d0a184c3d9b2b8cb35b0131.zip
Merge pull request #8 from mondalaci/extract-interface-numbers
Extract interface numbers into enums.
Diffstat (limited to 'Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c')
-rw-r--r--Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c b/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
index f663f1683..789fc215d 100644
--- a/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
+++ b/Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
@@ -51,7 +51,7 @@ USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
{
.Config =
{
- .InterfaceNumber = 0,
+ .InterfaceNumber = INTERFACE_ID_Keyboard,
.ReportINEndpoint =
{
.Address = KEYBOARD_IN_EPADDR,
@@ -72,7 +72,7 @@ USB_ClassInfo_HID_Device_t Mouse_HID_Interface =
{
.Config =
{
- .InterfaceNumber = 1,
+ .InterfaceNumber = INTERFACE_ID_Mouse,
.ReportINEndpoint =
{
.Address = MOUSE_IN_EPADDR,