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.

pull/1469/head
Dean Camera 12 years ago
parent 2b43a6d7df
commit 9740d3a55f

@ -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);

Loading…
Cancel
Save