Make "HighByte" variable in the CDC Bootloader a uint8_t rather than a bool to be more semantically correct, since it is bitwise ORed to obtain a byte address in the AVR's flash memory.

This commit is contained in:
Dean Camera 2012-10-28 13:56:14 +00:00
parent 2b43a6d7df
commit 9740d3a55f
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ static void ReadWriteMemoryBlock(const uint8_t Command)
uint16_t BlockSize;
char MemoryType;
bool HighByte = false;
uint8_t HighByte = 0;
uint8_t LowByte = 0;
BlockSize = (FetchNextCommandByte() << 8);