diff options
Diffstat (limited to 'LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c')
-rw-r--r-- | LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c b/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c index 658697afd..e77eb90cd 100644 --- a/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c +++ b/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c @@ -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) |