Fixed issue in USBtoSerial demos where the USART Rx line was not having its pullup enabled at startup, leading to noise being received from the Rx pin when left floating.
Removed unused relative Common.h header include from the DriverStubs board stub drivers. Fixed Benito programmer, use the correct LED functions where needed to ensure correct status display at all times.
This commit is contained in:
parent
4421782b7f
commit
99c447c754
12 changed files with 24 additions and 27 deletions
|
@ -235,15 +235,7 @@ static void ReadWriteMemoryBlock(const uint8_t Command)
|
|||
|
||||
while (BlockSize--)
|
||||
{
|
||||
if (MemoryType == 'E')
|
||||
{
|
||||
/* Read the next EEPROM byte into the endpoint */
|
||||
WriteNextResponseByte(eeprom_read_byte((uint8_t*)(uint16_t)(CurrAddress >> 1)));
|
||||
|
||||
/* Increment the address counter after use */
|
||||
CurrAddress += 2;
|
||||
}
|
||||
else
|
||||
if (MemoryType == 'F')
|
||||
{
|
||||
/* Read the next FLASH byte from the current FLASH page */
|
||||
#if (FLASHEND > 0xFFFF)
|
||||
|
@ -258,6 +250,14 @@ static void ReadWriteMemoryBlock(const uint8_t Command)
|
|||
|
||||
HighByte = !HighByte;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Read the next EEPROM byte into the endpoint */
|
||||
WriteNextResponseByte(eeprom_read_byte((uint8_t*)(uint16_t)(CurrAddress >> 1)));
|
||||
|
||||
/* Increment the address counter after use */
|
||||
CurrAddress += 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue