Synchronise with the 090605 release.
[pub/USBasp.git] / Demos / Host / CDCHost / ConfigDescriptor.h
index 04d71aa..1a118ca 100644 (file)
@@ -38,7 +38,6 @@
 \r
        /* Includes: */\r
                #include <LUFA/Drivers/USB/USB.h>                        // USB Functionality\r
-               #include <LUFA/Drivers/USB/Class/ConfigDescriptor.h>     // Configuration Descriptor Parser\r
                \r
                #include "CDCHost.h"\r
                \r
                        DescriptorTooLarge              = 2, /**< The device's Configuration Descriptor is too large to process */\r
                        InvalidConfigDataReturned       = 3, /**< The device returned an invalid Configuration Descriptor */\r
                        NoCDCInterfaceFound             = 4, /**< A compatible CDC interface was not found in the device's Configuration Descriptor */\r
-                       NoEndpointFound                 = 5, /**< Cmpatible CDC endpoints were not found in the device's CDC interface */\r
+                       NoEndpointFound                 = 5, /**< Compatible CDC endpoints were not found in the device's CDC interface */\r
                };\r
 \r
-       /* Configuration Descriptor Comparison Functions: */\r
-               DESCRIPTOR_COMPARATOR(NextCDCInterface);\r
-               DESCRIPTOR_COMPARATOR(NextInterfaceCDCDataEndpoint);\r
-\r
        /* Function Prototypes: */\r
                uint8_t ProcessConfigurationDescriptor(void);   \r
-\r
+               \r
+               uint8_t DComp_NextCDCControlInterface(void* CurrentDescriptor);\r
+               uint8_t DComp_NextCDCDataInterface(void* CurrentDescriptor);\r
+               uint8_t DComp_NextInterfaceCDCDataEndpoint(void* CurrentDescriptor);\r
+               \r
 #endif\r