X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/7665bf323e76ed1ebcfd137e2ab0bd356b43a5e8..3d1baa6f953c3c78c78c31466c4f551123e84415:/Demos/Device/KeyboardMouse/Descriptors.c diff --git a/Demos/Device/KeyboardMouse/Descriptors.c b/Demos/Device/KeyboardMouse/Descriptors.c index 145708db9..c9a778feb 100644 --- a/Demos/Device/KeyboardMouse/Descriptors.c +++ b/Demos/Device/KeyboardMouse/Descriptors.c @@ -169,7 +169,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .InterfaceNumber = 0x00, .AlternateSetting = 0x00, - .TotalEndpoints = 2, + .TotalEndpoints = 1, .Class = 0x03, .SubClass = 0x01, @@ -199,16 +199,6 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .PollingIntervalMS = 0x02 }, - .KeyboardOutEndpoint = - { - .Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint}, - - .EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_OUT_EPNUM), - .Attributes = EP_TYPE_INTERRUPT, - .EndpointSize = HID_EPSIZE, - .PollingIntervalMS = 0x02 - }, - .MouseInterface = { .Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface},