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:
parent
82fdedc192
commit
f45d60f768
7 changed files with 389 additions and 14 deletions
|
@ -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++));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue