Added explicit attribute masks to the device mode demos' descriptors.
[pub/USBasp.git] / Bootloaders / TeensyHID / Descriptors.c
index 2a4eeb7..b85bd7a 100644 (file)
@@ -138,7 +138,7 @@ USB_Descriptor_Configuration_t ConfigurationDescriptor =
                        .Header                 = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},\r
 \r
                        .EndpointAddress        = (ENDPOINT_DESCRIPTOR_DIR_IN | HID_EPNUM),\r
-                       .Attributes             = EP_TYPE_INTERRUPT,\r
+                       .Attributes             = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),\r
                        .EndpointSize           = HID_EPSIZE,\r
                        .PollingIntervalMS      = 0x40\r
                },\r