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 signature for the ATMEGA32U2 in the DFU bootloader (thanks to Axel...
[pub/USBasp.git]
/
LUFA
/
Common
/
Common.h
diff --git
a/LUFA/Common/Common.h
b/LUFA/Common/Common.h
index
86b84cc
..
febc216
100644
(file)
--- a/
LUFA/Common/Common.h
+++ b/
LUFA/Common/Common.h
@@
-169,7
+169,7
@@
{
uint8_t* CurrDataPos = (uint8_t*)Data;
- while (Bytes)
+ while (Bytes
> 1
)
{
uint8_t Temp = *CurrDataPos;
*CurrDataPos = *(CurrDataPos + Bytes - 1);