Fixed incorrect signature reported in the CDC class bootloader for the ATMEGA32U2.
[pub/USBasp.git] / Demos / Host / LowLevel / PrinterHost / Lib / PrinterCommands.h
index d908aae..3edfe43 100644 (file)
                #include <string.h>
 
                #include <LUFA/Drivers/USB/USB.h>
+               
+               #include "../PrinterHost.h"
 
        /* Macros: */
-               /** Printer class-specific request to retrieve the printer's ID string */
+               /** Printer class-specific request to retrieve the printer's ID string. */
                #define REQ_GetDeviceID              0
 
-               /** Printer class-specific request to retrieve the printer's virtual port status flags */
+               /** Printer class-specific request to retrieve the printer's virtual port status flags. */
                #define REQ_GetPortStatus            1
 
-               /** Printer class-specific request to soft-reset the device */
+               /** Printer class-specific request to soft-reset the device. */
                #define REQ_SoftReset                2
 
-               /** Pipe number of the Printer data IN pipe */
+               /** Pipe number of the Printer data IN pipe. */
                #define PRINTER_DATA_IN_PIPE         1
 
-               /** Pipe number of the Printer data OUT pipe */
+               /** Pipe number of the Printer data OUT pipe. */
                #define PRINTER_DATA_OUT_PIPE        2
                
        /* Function Prototypes: */
-               uint8_t Printer_SendData(const void* const PrinterCommands, const uint16_t CommandSize);
-               uint8_t Printer_GetDeviceID(char* DeviceIDString, const uint16_t BufferSize);
-               uint8_t Printer_GetPortStatus(uint8_t* PortStatus);
+               uint8_t Printer_SendData(const void* const PrinterCommands,
+                                        const uint16_t CommandSize);
+               uint8_t Printer_GetDeviceID(char* DeviceIDString,
+                                           const uint16_t BufferSize);
+               uint8_t Printer_GetPortStatus(uint8_t* const PortStatus);
                uint8_t Printer_SoftReset(void);
        
 #endif