X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2a90f66de211627f957c582e8277b7b7e2a940d4..93b24a25dfd49eba38ac9523f1d7f779dfbbb026:/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h diff --git a/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h b/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h index 4656d190e..cb8f04618 100644 --- a/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h +++ b/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h @@ -28,6 +28,11 @@ this software. */ +/** \file + * + * Header file for PrinterCommands.c. + */ + #ifndef _PRINTER_COMMANDS_H_ #define _PRINTER_COMMANDS_H_ @@ -53,15 +58,8 @@ /** Pipe number of the Printer data OUT pipe */ #define PRINTER_DATA_OUT_PIPE 2 - /* Type Defines: */ - typedef struct - { - char* Data; - uint16_t Length; - } Printer_Data_t; - /* Function Prototypes: */ - uint8_t Printer_SendData(Printer_Data_t* PrinterCommands); + uint8_t Printer_SendData(void* PrinterCommands, uint16_t CommandSize); uint8_t Printer_GetDeviceID(char* DeviceIDString, uint16_t BufferSize); uint8_t Printer_GetPortStatus(uint8_t* PortStatus); uint8_t Printer_SoftReset(void);