Fix Serial peripheral driver compile error for XMEGA devices.
This commit is contained in:
parent
5e55be1004
commit
16e8fe9878
3 changed files with 5 additions and 4 deletions
|
@ -95,7 +95,7 @@ void Serial_SendData(USART_t* const USART,
|
|||
Serial_SendByte(USART, *((uint8_t*)Buffer++));
|
||||
}
|
||||
|
||||
void Serial_CreateStream(FILE* const Stream)
|
||||
void Serial_CreateStream(FILE* Stream)
|
||||
{
|
||||
if (!(Stream))
|
||||
{
|
||||
|
@ -107,7 +107,7 @@ void Serial_CreateStream(FILE* const Stream)
|
|||
*Stream = (FILE)FDEV_SETUP_STREAM(Serial_putchar, Serial_getchar, _FDEV_SETUP_RW);
|
||||
}
|
||||
|
||||
void Serial_CreateBlockingStream(FILE* const Stream)
|
||||
void Serial_CreateBlockingStream(FILE* Stream)
|
||||
{
|
||||
if (!(Stream))
|
||||
{
|
||||
|
|
|
@ -156,7 +156,7 @@
|
|||
*
|
||||
* \pre The USART must first be configured via a call to \ref Serial_Init() before the stream is used.
|
||||
*/
|
||||
void Serial_CreateStream(FILE* const Stream);
|
||||
void Serial_CreateStream(FILE* Stream);
|
||||
|
||||
/** Identical to \ref Serial_CreateStream(), except that reads are blocking until the calling stream function terminates
|
||||
* the transfer.
|
||||
|
@ -166,7 +166,7 @@
|
|||
*
|
||||
* \pre The USART must first be configured via a call to \ref Serial_Init() before the stream is used.
|
||||
*/
|
||||
void Serial_CreateBlockingStream(FILE* const Stream);
|
||||
void Serial_CreateBlockingStream(FILE* Stream);
|
||||
|
||||
/* Inline Functions: */
|
||||
/** Initializes the USART, ready for serial data transmission and reception. This initializes the interface to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue