Fix PDITarget_ReceiveByte() not discarding the start bit properly, and reading in...
[pub/USBasp.git] / Demos / Device / ClassDriver / KeyboardMouse / Descriptors.c
index 114d863..520d57d 100644 (file)
@@ -173,7 +173,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                                \r
                        .Class                  = 0x03,\r
                        .SubClass               = 0x01,\r
                                \r
                        .Class                  = 0x03,\r
                        .SubClass               = 0x01,\r
-                       .Protocol               = 0x01,\r
+                       .Protocol               = HID_BOOT_KEYBOARD_PROTOCOL,\r
                                \r
                        .InterfaceStrIndex      = NO_DESCRIPTOR\r
                },\r
                                \r
                        .InterfaceStrIndex      = NO_DESCRIPTOR\r
                },\r
@@ -210,7 +210,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                                \r
                        .Class                  = 0x03,\r
                        .SubClass               = 0x01,\r
                                \r
                        .Class                  = 0x03,\r
                        .SubClass               = 0x01,\r
-                       .Protocol               = 0x02,\r
+                       .Protocol               = HID_BOOT_MOUSE_PROTOCOL,\r
                                \r
                        .InterfaceStrIndex      = NO_DESCRIPTOR\r
                },\r
                                \r
                        .InterfaceStrIndex      = NO_DESCRIPTOR\r
                },\r