mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user