projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed Endpoint_Write_Control_* functions writing more data than expected by the host...
[pub/USBasp.git]
/
Bootloaders
/
CDC
/
BootloaderCDC.c
diff --git
a/Bootloaders/CDC/BootloaderCDC.c
b/Bootloaders/CDC/BootloaderCDC.c
index
ef8707d
..
f36c4fc
100644
(file)
--- a/
Bootloaders/CDC/BootloaderCDC.c
+++ b/
Bootloaders/CDC/BootloaderCDC.c
@@
-350,7
+350,7
@@
static void WriteNextResponseByte(const uint8_t Response)
/* Select the IN endpoint so that the next data byte can be written */
\r
Endpoint_SelectEndpoint(CDC_TX_EPNUM);
\r
\r
/* Select the IN endpoint so that the next data byte can be written */
\r
Endpoint_SelectEndpoint(CDC_TX_EPNUM);
\r
\r
- /* If
OUT endpoint empty, clear it and wait for the next packet from
the host */
\r
+ /* If
IN endpoint full, clear it and wait util ready for the next packet to
the host */
\r
if (!(Endpoint_IsReadWriteAllowed()))
\r
{
\r
Endpoint_ClearIN();
\r
if (!(Endpoint_IsReadWriteAllowed()))
\r
{
\r
Endpoint_ClearIN();
\r