Commit for the 100807 release.
[pub/USBasp.git] / Demos / Device / Incomplete / Sideshow / Sideshow.c
index 92d2d3c..f6ece61 100644 (file)
@@ -122,7 +122,7 @@ void EVENT_USB_Device_UnhandledControlRequest(void)
                        {
                                void*    DescriptorPointer;
                                uint16_t DescriptorSize = USB_GetOSFeatureDescriptor(USB_ControlRequest.wValue, USB_ControlRequest.wIndex,
-                                                                                    &DescriptorPointer, &DescriptorSize);
+                                                                                    &DescriptorPointer);
 
                                if (DescriptorSize == NO_DESCRIPTOR)
                                  return;
@@ -130,7 +130,7 @@ void EVENT_USB_Device_UnhandledControlRequest(void)
                                Endpoint_ClearSETUP();
                                
                                Endpoint_Write_Control_PStream_LE(DescriptorPointer, DescriptorSize);
-                               Endpoint_ClearOUT();                            
+                               Endpoint_ClearOUT();
                        }
 
                        break;