X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ed031c1df2f5b053b9cd9f48c63e66a42b7c049e..bf041e8bbf67222e1c899b8df96f8220d5a0d9d2:/Demos/Host/MassStorageHost/ConfigDescriptor.h?ds=sidebyside diff --git a/Demos/Host/MassStorageHost/ConfigDescriptor.h b/Demos/Host/MassStorageHost/ConfigDescriptor.h index 908cc2ba5..6c0b8e6f4 100644 --- a/Demos/Host/MassStorageHost/ConfigDescriptor.h +++ b/Demos/Host/MassStorageHost/ConfigDescriptor.h @@ -38,7 +38,6 @@ /* Includes: */ #include // USB Functionality - #include // Configuration Descriptor Parser #include "MassStorageHost.h" @@ -66,12 +65,11 @@ NoInterfaceFound = 4, /**< A compatible MSD interface was not found in the device's Configuration Descriptor */ NoEndpointFound = 5, /**< The correct MSD endpoint descriptors were not found in the device's MSD interface */ }; - - /* Configuration Descriptor Comparison Functions: */ - DESCRIPTOR_COMPARATOR(NextMassStorageInterface); - DESCRIPTOR_COMPARATOR(NextInterfaceBulkDataEndpoint); - + /* Function Prototypes: */ uint8_t ProcessConfigurationDescriptor(void); + uint8_t DComp_NextMassStorageInterface(void* CurrentDescriptor); + uint8_t DComp_NextInterfaceBulkDataEndpoint(void* CurrentDescriptor); + #endif