projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finished CDC device class driver documentation.
[pub/lufa.git]
/
Bootloaders
/
DFU
/
BootloaderDFU.c
diff --git
a/Bootloaders/DFU/BootloaderDFU.c
b/Bootloaders/DFU/BootloaderDFU.c
index
1850803
..
6da741e
100644
(file)
--- a/
Bootloaders/DFU/BootloaderDFU.c
+++ b/
Bootloaders/DFU/BootloaderDFU.c
@@
-462,8
+462,10
@@
static void DiscardFillerBytes(uint8_t NumberOfBytes)
/* Wait until next data packet received */
\r
while (!(Endpoint_IsOUTReceived()));
\r
}
\r
/* Wait until next data packet received */
\r
while (!(Endpoint_IsOUTReceived()));
\r
}
\r
-
\r
- Endpoint_Discard_Byte();
\r
+ else
\r
+ {
\r
+ Endpoint_Discard_Byte();
\r
+ }
\r
}
\r
}
\r
\r
}
\r
}
\r
\r