Get rid of the redundant ATTR_NEVER_INLINE macro which translated to the same as...
[pub/USBasp.git] / Demos / Device / ClassDriver / Keyboard / Keyboard.c
index b3cc67e..7acd0d6 100644 (file)
@@ -44,10 +44,10 @@ static uint8_t PrevKeyboardHIDReportBuffer[sizeof(USB_KeyboardReport_Data_t)];
  *  within a device can be differentiated from one another.
  */
 USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
-       {
+       {
                .Config =
                        {
-                               .InterfaceNumber              = 0,
+                               .InterfaceNumber              = INTERFACE_ID_Keyboard,
                                .ReportINEndpoint             =
                                        {
                                                .Address              = KEYBOARD_EPADDR,
@@ -57,7 +57,7 @@ USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
                                .PrevReportINBuffer           = PrevKeyboardHIDReportBuffer,
                                .PrevReportINBufferSize       = sizeof(PrevKeyboardHIDReportBuffer),
                        },
-    };
+       };
 
 
 /** Main program entry point. This routine contains the overall program flow, including initial