diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-10-28 13:56:14 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-10-28 13:56:14 +0000 |
commit | 9740d3a55f1e5dc297aeddbb3c822831a426c658 (patch) | |
tree | b073eceabe20dc5b0cac5b1ae4b425f0069e3b97 /Bootloaders/CDC | |
parent | 2b43a6d7df6221b979f08326c02eb1cfdd077c49 (diff) | |
download | lufa-9740d3a55f1e5dc297aeddbb3c822831a426c658.tar.gz lufa-9740d3a55f1e5dc297aeddbb3c822831a426c658.tar.bz2 lufa-9740d3a55f1e5dc297aeddbb3c822831a426c658.zip |
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.
Diffstat (limited to 'Bootloaders/CDC')
-rw-r--r-- | Bootloaders/CDC/BootloaderCDC.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/CDC/BootloaderCDC.c b/Bootloaders/CDC/BootloaderCDC.c index 656f1e024..f47fb1158 100644 --- a/Bootloaders/CDC/BootloaderCDC.c +++ b/Bootloaders/CDC/BootloaderCDC.c @@ -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); |