Add branch for the conversion of demos to use standard C header files for configurati...
[pub/USBasp.git] / Projects / MissileLauncher / ConfigDescriptor.h
index b05f7ef..c857bf7 100644 (file)
                /** Interface Class value for the Human Interface Device class. */
                #define HID_CLASS                 0x03
 
-               /** Pipe number for the HID data IN pipe. */
-               #define HID_DATA_IN_PIPE          1
+               /** Pipe address for the HID data IN pipe. */
+               #define HID_DATA_IN_PIPE          (PIPE_DIR_IN  | 1)
 
-               /** Pipe number for the HID data OUT pipe. */
-               #define HID_DATA_OUT_PIPE         2
+               /** Pipe address for the HID data OUT pipe. */
+               #define HID_DATA_OUT_PIPE         (PIPE_DIR_OUT | 2)
 
        /* Enums: */
                /** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */