diff options
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Common/Common.h | 2 | ||||
-rw-r--r-- | LUFA/ManPages/ChangeLog.txt | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 86b84cc2a..febc216bc 100644 --- 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); diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 638d8a119..97a49c26e 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -29,6 +29,7 @@ * - Fixed RNDISEthernet demos crashing when calculating checksums for Ethernet/TCP packets of more than ~500 bytes due to * an overflow in the checksum calculation loop (thanks to Kevin Malec) * - Fixed XPLAINBridge project not correctly reading the XMEGA's supply voltage when reporting back to the host + * - Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks to Axel Rohde) * * \section Sec_ChangeLog100513 Version 100513 * <b>New:</b> |