From fc8e4837a936bb1b4bd19bdd54660878b3efe02c Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 18 Apr 2010 12:10:30 +0000 Subject: Add const keyword to the demo function parameters where possible. --- Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '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 c451ef8b80..b7c0a9e02d 100644 --- a/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h +++ b/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h @@ -59,8 +59,8 @@ #define PRINTER_DATA_OUT_PIPE 2 /* Function Prototypes: */ - uint8_t Printer_SendData(void* PrinterCommands, uint16_t CommandSize); - uint8_t Printer_GetDeviceID(char* DeviceIDString, uint16_t BufferSize); + uint8_t Printer_SendData(const void* const PrinterCommands, const uint16_t CommandSize); + uint8_t Printer_GetDeviceID(char* DeviceIDString, const uint16_t BufferSize); uint8_t Printer_GetPortStatus(uint8_t* PortStatus); uint8_t Printer_SoftReset(void); -- cgit v1.2.3