Device mode class driver callbacks are now fired before the control request status...
[pub/USBasp.git] / Demos / Host / LowLevel / PrinterHost / Lib / PrinterCommands.h
index fe7f4e0..b7c0a9e 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
              LUFA Library\r
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2009.\r
+     Copyright (C) Dean Camera, 2010.\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
-  Copyright 2009  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
@@ -59,8 +59,8 @@
                #define PRINTER_DATA_OUT_PIPE        2\r
                \r
        /* Function Prototypes: */\r
                #define PRINTER_DATA_OUT_PIPE        2\r
                \r
        /* Function Prototypes: */\r
-               uint8_t Printer_SendData(void* PrinterCommands, uint16_t CommandSize);\r
-               uint8_t Printer_GetDeviceID(char* DeviceIDString, uint16_t BufferSize);\r
+               uint8_t Printer_SendData(const void* const PrinterCommands, const uint16_t CommandSize);\r
+               uint8_t Printer_GetDeviceID(char* DeviceIDString, const uint16_t BufferSize);\r
                uint8_t Printer_GetPortStatus(uint8_t* PortStatus);\r
                uint8_t Printer_SoftReset(void);\r
        \r
                uint8_t Printer_GetPortStatus(uint8_t* PortStatus);\r
                uint8_t Printer_SoftReset(void);\r
        \r