aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host/PrinterClassHost.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-02-24 15:46:58 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-02-24 15:46:58 +0000
commitcfa48f5987ee00f1ef44959cedc6e5248f2bdfb9 (patch)
tree66a72828750019b8e6f392ccae8f1b984f3e5469 /LUFA/Drivers/USB/Class/Host/PrinterClassHost.h
parent2b4658de2c1012a465035a8015c13762334088ac (diff)
downloadlufa-cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9.tar.gz
lufa-cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9.tar.bz2
lufa-cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9.zip
Changed all *_SendByte() function prototypes to accept a void pointer for the input buffer (thanks to Simon Küppers) instead of a uint8_t pointer.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/PrinterClassHost.h')
-rw-r--r--LUFA/Drivers/USB/Class/Host/PrinterClassHost.h2
1 files changed, 1 insertions, 1 deletions
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