projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor documentation adjustments to the demos, projects and bootloaders to ensure...
[pub/USBasp.git]
/
Demos
/
Host
/
LowLevel
/
PrinterHost
/
Lib
/
PrinterCommands.c
diff --git
a/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c
b/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c
index
577676f
..
7f1824f
100644
(file)
--- a/
Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c
+++ b/
Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-52,7
+52,7
@@
uint8_t Printer_SendData(const void* const PrinterCommands,
Pipe_SelectPipe(PRINTER_DATA_OUT_PIPE);
Pipe_Unfreeze();
Pipe_SelectPipe(PRINTER_DATA_OUT_PIPE);
Pipe_Unfreeze();
- if ((ErrorCode = Pipe_Write_Stream_LE(PrinterCommands, CommandSize)) != PIPE_RWSTREAM_NoError)
+ if ((ErrorCode = Pipe_Write_Stream_LE(PrinterCommands, CommandSize
, NULL
)) != PIPE_RWSTREAM_NoError)
return ErrorCode;
Pipe_ClearOUT();
return ErrorCode;
Pipe_ClearOUT();
@@
-75,7
+75,7
@@
uint8_t Printer_SendData(const void* const PrinterCommands,
uint8_t Printer_GetDeviceID(char* DeviceIDString,
const uint16_t BufferSize)
{
uint8_t Printer_GetDeviceID(char* DeviceIDString,
const uint16_t BufferSize)
{
- uint8_t ErrorCode
= HOST_SENDCONTROL_Successful
;
+ uint8_t ErrorCode;
uint16_t DeviceIDStringLength = 0;
USB_ControlRequest = (USB_Request_Header_t)
uint16_t DeviceIDStringLength = 0;
USB_ControlRequest = (USB_Request_Header_t)