Build: Update to latest DMBS version.
[pub/USBasp.git] / Demos / DualRole / ClassDriver / MouseHostDevice / DeviceFunctions.c
index ef9280c..d292c6b 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2013.
+     Copyright (C) Dean Camera, 2020.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2013  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2020  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -47,7 +47,7 @@ USB_ClassInfo_HID_Device_t Mouse_HID_Device_Interface =
        {
                .Config =
                        {
        {
                .Config =
                        {
-                               .InterfaceNumber            = 0,
+                               .InterfaceNumber            = INTERFACE_ID_Mouse,
                                .ReportINEndpoint           =
                                        {
                                                .Address            = MOUSE_EPADDR,
                                .ReportINEndpoint           =
                                        {
                                                .Address            = MOUSE_EPADDR,