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:
parent
3b95b8dedc
commit
c1daecf18b
5 changed files with 109 additions and 25 deletions
|
@ -169,7 +169,7 @@
|
|||
{
|
||||
uint8_t* CurrDataPos = (uint8_t*)Data;
|
||||
|
||||
while (Bytes)
|
||||
while (Bytes > 1)
|
||||
{
|
||||
uint8_t Temp = *CurrDataPos;
|
||||
*CurrDataPos = *(CurrDataPos + Bytes - 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue