Make "HighByte" variable in the CDC Bootloader a uint8_t rather than a bool to be...
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 28 Oct 2012 13:56:14 +0000 (13:56 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 28 Oct 2012 13:56:14 +0000 (13:56 +0000)
Bootloaders/CDC/BootloaderCDC.c

index 656f1e0..f47fb11 100644 (file)
@@ -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);