Add optional double-banking support to the Device mode Class Drivers, on a per-endpoi...
[pub/USBasp.git] / Demos / Device / ClassDriver / GenericHID / GenericHID.c
index c27558b..bd75e4e 100644 (file)
@@ -55,13 +55,14 @@ USB_ClassInfo_HID_Device_t Generic_HID_Interface =
        {\r
                .Config =\r
                        {\r
-                               .InterfaceNumber         = 0,\r
+                               .InterfaceNumber              = 0,\r
 \r
-                               .ReportINEndpointNumber  = GENERIC_IN_EPNUM,\r
-                               .ReportINEndpointSize    = GENERIC_EPSIZE,\r
+                               .ReportINEndpointNumber       = GENERIC_IN_EPNUM,\r
+                               .ReportINEndpointSize         = GENERIC_EPSIZE,\r
+                               .ReportINEndpointDoubleBank   = false,\r
                                \r
-                               .PrevReportINBuffer      = PrevHIDReportBuffer,\r
-                               .PrevReportINBufferSize  = sizeof(PrevHIDReportBuffer),\r
+                               .PrevReportINBuffer           = PrevHIDReportBuffer,\r
+                               .PrevReportINBufferSize       = sizeof(PrevHIDReportBuffer),\r
                        },\r
        };\r
 \r