forked from mfulz_github/qmk_firmware
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:
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…
Reference in New Issue