Minor bootloader tweaks; make some functions static where possible to reduce the...
[pub/USBasp.git] / LUFA / Drivers / USB / Core / ConfigDescriptor.h
index 85cee46..361ffa0 100644 (file)
@@ -52,7 +52,7 @@
 
        /* Includes: */
                #include "../../../Common/Common.h"
-               #include "USBMode.h"            
+               #include "USBMode.h"
                #include "HostStandardReq.h"
                #include "StdDescriptors.h"
 
 
        /* Public Interface - May be used in end-application: */
                /* Macros: */
-                       /** Mask for determining the type of an endpoint from an endpoint descriptor. This should then be compared
-                        *  with the \c EP_TYPE_* masks to determine the exact type of the endpoint.
-                        */
-                       #define EP_TYPE_MASK                       0x03
-
                        /** Casts a pointer to a descriptor inside the configuration descriptor into a pointer to the given
                         *  descriptor type.
                         *
                                                                 void** CurrConfigLoc)
                        {
                                uint16_t CurrDescriptorSize = DESCRIPTOR_CAST(*CurrConfigLoc, USB_Descriptor_Header_t).Size;
-                               
+
                                if (*BytesRem < CurrDescriptorSize)
                                  CurrDescriptorSize = *BytesRem;