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.
This commit is contained in:
Dean Camera 2010-05-29 07:51:01 +00:00
parent 3b95b8dedc
commit c1daecf18b
5 changed files with 109 additions and 25 deletions

View file

@ -169,7 +169,7 @@
{
uint8_t* CurrDataPos = (uint8_t*)Data;
while (Bytes)
while (Bytes > 1)
{
uint8_t Temp = *CurrDataPos;
*CurrDataPos = *(CurrDataPos + Bytes - 1);