diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-02-12 11:48:24 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-02-12 11:48:24 +0000 |
commit | f45d60f768f438502910fd9fe7cac094c05bca74 (patch) | |
tree | cec7534977d5cf0e8015bb95dc98ee3fb3a39a9c /LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c | |
parent | 82fdedc192cca6c118991d476b107a95128e4fc2 (diff) | |
download | lufa-f45d60f768f438502910fd9fe7cac094c05bca74.tar.gz lufa-f45d60f768f438502910fd9fe7cac094c05bca74.tar.bz2 lufa-f45d60f768f438502910fd9fe7cac094c05bca74.zip |
Added Serial USART peripheral driver for the XMEGA platform.
Fix XMEGA SPI peripheral driver's incorrect const-ness on the SPI peripheral struct.
Diffstat (limited to 'LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c')
-rw-r--r-- | LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c b/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c index 3317d0d6a..4c2f1ae31 100644 --- a/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c +++ b/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c @@ -82,7 +82,8 @@ void Serial_SendString(const char* StringPtr) } } -void Serial_SendData(const uint8_t* Buffer, uint16_t Length) +void Serial_SendData(const uint8_t* Buffer, + uint16_t Length) { while (Length--) Serial_SendByte(*(Buffer++)); |