From 9740d3a55f1e5dc297aeddbb3c822831a426c658 Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Sun, 28 Oct 2012 13:56:14 +0000
Subject: [PATCH] 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.

---
 Bootloaders/CDC/BootloaderCDC.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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