Commit 9740d3a5 authored by Dean Camera's avatar Dean Camera
Browse files

Make "HighByte" variable in the CDC Bootloader a uint8_t rather than a bool to...

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.
parent 2b43a6d7
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment