projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix accidental struct copies on the stack in the old RNDISEthernet demo TCP code.
[pub/USBasp.git]
/
Demos
/
Host
/
LowLevel
/
StillImageHost
/
Lib
/
StillImageCommands.c
diff --git
a/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
b/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
index
34cb70f
..
752c87b
100644
(file)
--- a/
Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
+++ b/
Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
1
.
+ 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
1
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
@@
-140,7
+140,7
@@
uint8_t SImage_ReceiveBlockHeader(void)
if (Pipe_IsStalled())
{
/* Clear the stall condition on the OUT pipe */
if (Pipe_IsStalled())
{
/* Clear the stall condition on the OUT pipe */
- USB_Host_Clear
PipeStall(SIMAGE_DATA_OUT_PIPE
);
+ USB_Host_Clear
EndpointStall(Pipe_GetBoundEndpointAddress()
);
/* Return error code and break out of the loop */
return PIPE_RWSTREAM_PipeStalled;
/* Return error code and break out of the loop */
return PIPE_RWSTREAM_PipeStalled;
@@
-154,7
+154,7
@@
uint8_t SImage_ReceiveBlockHeader(void)
if (Pipe_IsStalled())
{
/* Clear the stall condition on the IN pipe */
if (Pipe_IsStalled())
{
/* Clear the stall condition on the IN pipe */
- USB_Host_Clear
PipeStall(SIMAGE_DATA_IN_PIPE
);
+ USB_Host_Clear
EndpointStall(Pipe_GetBoundEndpointAddress()
);
/* Return error code */
return PIPE_RWSTREAM_PipeStalled;
/* Return error code */
return PIPE_RWSTREAM_PipeStalled;
@@
-219,7
+219,7
@@
uint8_t SImage_SendData(void* const Buffer,
return ErrorCode;
}
return ErrorCode;
}
-/** Function to receive the given data
to
the device, after a response block has been received.
+/** Function to receive the given data
from
the device, after a response block has been received.
*
* \param[out] Buffer Destination data buffer to put read bytes from the device
* \param[in] Bytes Number of bytes to receive
*
* \param[out] Buffer Destination data buffer to put read bytes from the device
* \param[in] Bytes Number of bytes to receive