Add branch for the conversion of demos to use standard C header files for configurati...
[pub/USBasp.git] / Demos / Host / LowLevel / PrinterHost / ConfigDescriptor.h
index cc9e2cb..d5a32cd 100644 (file)
                #include "Lib/PrinterCommands.h"
 
        /* Macros: */
-               /** Pipe number of the Printer data IN pipe. */
-               #define PRINTER_DATA_IN_PIPE             1
+               /** Pipe address of the Printer data IN pipe. */
+               #define PRINTER_DATA_IN_PIPE             (PIPE_DIR_IN  | 1)
 
-               /** Pipe number of the Printer data OUT pipe. */
-               #define PRINTER_DATA_OUT_PIPE            2
+               /** Pipe address of the Printer data OUT pipe. */
+               #define PRINTER_DATA_OUT_PIPE            (PIPE_DIR_OUT | 2)
 
        /* Enums: */
                /** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */