Rewritten event system to remove all macros, to make user code clearer.
[pub/USBasp.git] / Demos / Host / CDCHost / ConfigDescriptor.h
index ea00f61..1a118ca 100644 (file)
                        NoEndpointFound                 = 5, /**< Compatible CDC endpoints were not found in the device's CDC interface */\r
                };\r
 \r
-       /* Configuration Descriptor Comparison Functions: */\r
-               DESCRIPTOR_COMPARATOR(NextCDCControlInterface);\r
-               DESCRIPTOR_COMPARATOR(NextCDCDataInterface);\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