aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-02-12 11:48:24 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-02-12 11:48:24 +0000
commit2a871d1157f05c7d585511bf5363e9386d27a97e (patch)
treecec7534977d5cf0e8015bb95dc98ee3fb3a39a9c /LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c
parenta4854812b2d47069945179ae2ee52fadebd0bc82 (diff)
Added Serial USART peripheral driver for the XMEGA platform.
Fix XMEGA SPI peripheral driver's incorrect const-ness on the SPI peripheral struct. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2046 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c')
-rw-r--r--LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.c3
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 3317d0d6..4c2f1ae3 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++));