Fixed SPI driver not explicitly setting /SS and MISO pins as inputs when SPI_Init...
[pub/USBasp.git] / Demos / Host / LowLevel / PrinterHost / Lib / PrinterCommands.h
index 8c3bd33..9cd768e 100644 (file)
@@ -41,6 +41,8 @@
                #include <string.h>
 
                #include <LUFA/Drivers/USB/USB.h>
                #include <string.h>
 
                #include <LUFA/Drivers/USB/USB.h>
+               
+               #include "../PrinterHost.h"
 
        /* Macros: */
                /** Printer class-specific request to retrieve the printer's ID string. */
 
        /* Macros: */
                /** Printer class-specific request to retrieve the printer's ID string. */
 
                /** Printer class-specific request to soft-reset the device. */
                #define REQ_SoftReset                2
 
                /** Printer class-specific request to soft-reset the device. */
                #define REQ_SoftReset                2
-
-               /** Pipe number of the Printer data IN pipe. */
-               #define PRINTER_DATA_IN_PIPE         1
-
-               /** Pipe number of the Printer data OUT pipe. */
-               #define PRINTER_DATA_OUT_PIPE        2
                
        /* Function Prototypes: */
                uint8_t Printer_SendData(const void* const PrinterCommands,
                
        /* Function Prototypes: */
                uint8_t Printer_SendData(const void* const PrinterCommands,