Tweak the LUFA config for the Mass Storage class bootloader to reduce the compiled...
[pub/USBasp.git] / LUFA / Drivers / Peripheral / AVR8 / Serial_AVR8.c
index 658697a..e77eb90 100644 (file)
@@ -85,11 +85,11 @@ void Serial_SendString(const char* StringPtr)
        }
 }
 
-void Serial_SendData(const uint8_t* Buffer,
+void Serial_SendData(const void* Buffer,
                      uint16_t Length)
 {
        while (Length--)
-         Serial_SendByte(*(Buffer++));
+         Serial_SendByte(*((uint8_t*)Buffer++));
 }
 
 void Serial_CreateStream(FILE* Stream)