diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-13 10:01:13 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-13 10:01:13 +0000 |
commit | 03130342451003093e654edc5b031718d544e9ba (patch) | |
tree | cffce32c4ada3ec192a8fdcb44b47b2f239e1701 /LUFA/Drivers/USB/Class/Host/Printer.h | |
parent | 3a3a4e2abf7ac55dcc438ad95e7c11f9566b825f (diff) | |
download | lufa-03130342451003093e654edc5b031718d544e9ba.tar.gz lufa-03130342451003093e654edc5b031718d544e9ba.tar.bz2 lufa-03130342451003093e654edc5b031718d544e9ba.zip |
Added const attributes to some of the class driver function parameters that were missing it.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/Printer.h')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/Printer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/Printer.h b/LUFA/Drivers/USB/Class/Host/Printer.h index 5c6f74a6d..cf24ec9fe 100644 --- a/LUFA/Drivers/USB/Class/Host/Printer.h +++ b/LUFA/Drivers/USB/Class/Host/Printer.h @@ -171,7 +171,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* PrinterCommands, - uint16_t CommandSize) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); + const uint16_t CommandSize) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); /** Retrieves the attached printer device's ID string, formatted according to IEEE 1284. This string is sent as a * Unicode string from the device and is automatically converted to an ASCII encoded C string by this function, thus @@ -187,7 +187,7 @@ * \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum. */ uint8_t PRNT_Host_GetDeviceID(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, char* DeviceIDString, - uint16_t BufferSize) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); + const uint16_t BufferSize) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); /* Inline Functions: */ /** General management task for a given Printer host class interface, required for the correct operation of |