projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build errors in host demos due to usage of pipe error codes which have now been...
[pub/USBasp.git]
/
Demos
/
Host
/
StillImageHost
/
StillImageHost.c
diff --git
a/Demos/Host/StillImageHost/StillImageHost.c
b/Demos/Host/StillImageHost/StillImageHost.c
index
ca5292b
..
ceec151
100644
(file)
--- a/
Demos/Host/StillImageHost/StillImageHost.c
+++ b/
Demos/Host/StillImageHost/StillImageHost.c
@@
-222,7
+222,7
@@
TASK(USB_SImage_Host)
SImage_SendBlockHeader();
\r
\r
/* Receive the response data block */
\r
SImage_SendBlockHeader();
\r
\r
/* Receive the response data block */
\r
- if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_
ERROR_
NoError)
\r
+ if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_NoError)
\r
{
\r
ShowCommandError(ErrorCode, false);
\r
break;
\r
{
\r
ShowCommandError(ErrorCode, false);
\r
break;
\r
@@
-273,7
+273,7
@@
TASK(USB_SImage_Host)
printf_P(PSTR(" Device Version: %s\r\n"), DeviceVersion);
\r
\r
/* Receive the final response block from the device */
\r
printf_P(PSTR(" Device Version: %s\r\n"), DeviceVersion);
\r
\r
/* Receive the final response block from the device */
\r
- if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_
ERROR_
NoError)
\r
+ if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_NoError)
\r
{
\r
ShowCommandError(ErrorCode, false);
\r
break;
\r
{
\r
ShowCommandError(ErrorCode, false);
\r
break;
\r
@@
-301,7
+301,7
@@
TASK(USB_SImage_Host)
SImage_SendBlockHeader();
\r
\r
/* Receive the response block from the device */
\r
SImage_SendBlockHeader();
\r
\r
/* Receive the response block from the device */
\r
- if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_
ERROR_
NoError)
\r
+ if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_NoError)
\r
{
\r
ShowCommandError(ErrorCode, false);
\r
break;
\r
{
\r
ShowCommandError(ErrorCode, false);
\r
break;
\r
@@
-329,7
+329,7
@@
TASK(USB_SImage_Host)
SImage_SendBlockHeader();
\r
\r
/* Receive the response block from the device */
\r
SImage_SendBlockHeader();
\r
\r
/* Receive the response block from the device */
\r
- if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_
ERROR_
NoError)
\r
+ if ((ErrorCode = SImage_RecieveBlockHeader()) != PIPE_RWSTREAM_NoError)
\r
{
\r
ShowCommandError(ErrorCode, false);
\r
break;
\r
{
\r
ShowCommandError(ErrorCode, false);
\r
break;
\r