projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed incorrect defined in Version.h.
[pub/USBasp.git]
/
Demos
/
Host
/
StillImageHost
/
StillImageCommands.c
diff --git
a/Demos/Host/StillImageHost/StillImageCommands.c
b/Demos/Host/StillImageHost/StillImageCommands.c
index
969ff5a
..
4d4c0b1
100644
(file)
--- a/
Demos/Host/StillImageHost/StillImageCommands.c
+++ b/
Demos/Host/StillImageHost/StillImageCommands.c
@@
-202,6
+202,9
@@
void SImage_SendData(void* Buffer, uint16_t Bytes)
/* Write the data contents to the pipe */
\r
Pipe_Write_Stream_LE(Buffer, Bytes);
\r
\r
/* Write the data contents to the pipe */
\r
Pipe_Write_Stream_LE(Buffer, Bytes);
\r
\r
+ /* Send the last packet to the attached device */
\r
+ Pipe_ClearCurrentBank();
\r
+
\r
/* Freeze the pipe again after use */
\r
Pipe_Freeze();
\r
}
\r
/* Freeze the pipe again after use */
\r
Pipe_Freeze();
\r
}
\r