X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ed031c1df2f5b053b9cd9f48c63e66a42b7c049e..dd2cc7eda7a74c753f132ca794666cde3f163f80:/Demos/Host/CDCHost/ConfigDescriptor.h diff --git a/Demos/Host/CDCHost/ConfigDescriptor.h b/Demos/Host/CDCHost/ConfigDescriptor.h index 04d71aade..1a118cad3 100644 --- a/Demos/Host/CDCHost/ConfigDescriptor.h +++ b/Demos/Host/CDCHost/ConfigDescriptor.h @@ -38,7 +38,6 @@ /* Includes: */ #include // USB Functionality - #include // Configuration Descriptor Parser #include "CDCHost.h" @@ -73,14 +72,14 @@ DescriptorTooLarge = 2, /**< The device's Configuration Descriptor is too large to process */ InvalidConfigDataReturned = 3, /**< The device returned an invalid Configuration Descriptor */ NoCDCInterfaceFound = 4, /**< A compatible CDC interface was not found in the device's Configuration Descriptor */ - NoEndpointFound = 5, /**< Cmpatible CDC endpoints were not found in the device's CDC interface */ + NoEndpointFound = 5, /**< Compatible CDC endpoints were not found in the device's CDC interface */ }; - /* Configuration Descriptor Comparison Functions: */ - DESCRIPTOR_COMPARATOR(NextCDCInterface); - DESCRIPTOR_COMPARATOR(NextInterfaceCDCDataEndpoint); - /* Function Prototypes: */ uint8_t ProcessConfigurationDescriptor(void); - + + uint8_t DComp_NextCDCControlInterface(void* CurrentDescriptor); + uint8_t DComp_NextCDCDataInterface(void* CurrentDescriptor); + uint8_t DComp_NextInterfaceCDCDataEndpoint(void* CurrentDescriptor); + #endif