aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-05-29 07:51:01 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-05-29 07:51:01 +0000
commitc1daecf18b25566da50beb3afdcbc3e5d49d3b48 (patch)
tree62fb587af37686f49b65250572295cf88bac4e2f /LUFA
parent3b95b8dedced6c118cfb2cd7fc72c696c076119e (diff)
downloadlufa-c1daecf18b25566da50beb3afdcbc3e5d49d3b48.tar.gz
lufa-c1daecf18b25566da50beb3afdcbc3e5d49d3b48.tar.bz2
lufa-c1daecf18b25566da50beb3afdcbc3e5d49d3b48.zip
Fixed incorrect signature for the ATMEGA32U2 in the DFU bootloader (thanks to Axel Rohde).
Partial fix to the Bluetooth SDP code - data should be encoded in big endian, not little endian.
Diffstat (limited to 'LUFA')
-rw-r--r--LUFA/Common/Common.h2
-rw-r--r--LUFA/ManPages/ChangeLog.txt1
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>