Added Serial USART peripheral driver for the XMEGA platform.

Fix XMEGA SPI peripheral driver's incorrect const-ness on the SPI peripheral struct.
This commit is contained in:
Dean Camera committed 2012-02-12 11:48:24 +00:00
1 parent 82fdedc192
commit f45d60f768
7 files changed
+389 -14

No files matched your search

+2 -1
View File
@@ -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++));