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.c | |
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.c')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/Printer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/Printer.c b/LUFA/Drivers/USB/Class/Host/Printer.c index e535b46ab..428ea66b6 100644 --- a/LUFA/Drivers/USB/Class/Host/Printer.c +++ b/LUFA/Drivers/USB/Class/Host/Printer.c @@ -180,7 +180,7 @@ uint8_t PRNT_Host_SoftReset(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo) return USB_Host_SendControlRequest(NULL); } -uint8_t PRNT_Host_SendData(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, void* PrinterCommands, uint16_t CommandSize) +uint8_t PRNT_Host_SendData(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, void* PrinterCommands, const uint16_t CommandSize) { uint8_t ErrorCode; @@ -205,7 +205,7 @@ uint8_t PRNT_Host_SendData(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, v return PIPE_RWSTREAM_NoError; } -uint8_t PRNT_Host_GetDeviceID(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, char* DeviceIDString, uint16_t BufferSize) +uint8_t PRNT_Host_GetDeviceID(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, char* DeviceIDString, const uint16_t BufferSize) { uint8_t ErrorCode = HOST_SENDCONTROL_Successful; uint16_t DeviceIDStringLength = 0; |