From cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 24 Feb 2013 15:46:58 +0000 Subject: =?UTF-8?q?Changed=20all=20*=5FSendByte()=20function=20prototypes?= =?UTF-8?q?=20to=20accept=20a=20void=20pointer=20for=20the=20input=20buffe?= =?UTF-8?q?r=20(thanks=20to=20Simon=20K=C3=BCppers)=20instead=20of=20a=20u?= =?UTF-8?q?int8=5Ft=20pointer.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LUFA/Drivers/USB/Class/Host/PrinterClassHost.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LUFA/Drivers/USB/Class/Host/PrinterClassHost.h') diff --git a/LUFA/Drivers/USB/Class/Host/PrinterClassHost.h b/LUFA/Drivers/USB/Class/Host/PrinterClassHost.h index 23ec7fdcd..9a7cb0845 100644 --- a/LUFA/Drivers/USB/Class/Host/PrinterClassHost.h +++ b/LUFA/Drivers/USB/Class/Host/PrinterClassHost.h @@ -200,7 +200,7 @@ * \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum. */ uint8_t PRNT_Host_SendData(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, - void* Buffer, + const void* Buffer, const uint16_t Length) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); /** Sends a given byte to the attached USB device, if connected. If a device is not connected when the function is called, the -- cgit v1.2.3