Reintegrate the FullEPAddresses development branch into trunk.
[pub/USBasp.git] / Demos / Device / LowLevel / GenericHID / Descriptors.h
index 4647a05..e47220a 100644 (file)
                } USB_Descriptor_Configuration_t;
 
        /* Macros: */
-               /** Endpoint number of the Generic HID reporting IN endpoint. */
-               #define GENERIC_IN_EPNUM          1
+               /** Endpoint address of the Generic HID reporting IN endpoint. */
+               #define GENERIC_IN_EPADDR         (ENDPOINT_DIR_IN  | 1)
 
-               /** Endpoint number of the Generic HID reporting OUT endpoint. */
-               #define GENERIC_OUT_EPNUM         2
+               /** Endpoint address of the Generic HID reporting OUT endpoint. */
+               #define GENERIC_OUT_EPADDR        (ENDPOINT_DIR_OUT | 2)
 
                /** Size in bytes of the Generic HID reporting endpoint. */
                #define GENERIC_EPSIZE            8