Added explicit attribute masks to the device mode demos' descriptors.
[pub/USBasp.git] / Demos / Device / ClassDriver / GenericHID / Descriptors.c
index ba4e51e..25b4dd1 100644 (file)
@@ -144,7 +144,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        .Header                 = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},\r
                                                                                 \r
                        .EndpointAddress        = (ENDPOINT_DESCRIPTOR_DIR_IN | GENERIC_IN_EPNUM),\r
-                       .Attributes             = EP_TYPE_INTERRUPT,\r
+                       .Attributes             = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),\r
                        .EndpointSize           = GENERIC_EPSIZE,\r
                        .PollingIntervalMS      = 0x02\r
                },\r