Clarify in the documentation that the Audio demos and driver is for the Audio 1.0...
[pub/USBasp.git] / Demos / Device / Incomplete / TestAndMeasurement / Descriptors.c
index 08419a9..a564715 100644 (file)
@@ -106,7 +106,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        .InterfaceNumber        = 0x00,
                        .AlternateSetting       = 0x00,
                        
-                       .TotalEndpoints         = 2,
+                       .TotalEndpoints         = 3,
                                
                        .Class                  = 0xFE,
                        .SubClass               = 0x03,
@@ -133,6 +133,16 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        .Attributes             = (EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
                        .EndpointSize           = TMC_IO_EPSIZE,
                        .PollingIntervalMS      = 0x00
+               },
+               
+       .NotificationEndpoint = 
+               {
+                       .Header                 = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
+                       
+                       .EndpointAddress        = (ENDPOINT_DESCRIPTOR_DIR_IN | TMC_NOTIFICATION_EPNUM),
+                       .Attributes             = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
+                       .EndpointSize           = TMC_NOTIFICATION_EPSIZE,
+                       .PollingIntervalMS      = 0xFF
                }
 };