X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/11bb2f21720c2af4b29732ca128963869e5c512c..24f730fce3f2022762011d795c3feada5ef874b3:/LUFA/Drivers/Peripheral/SerialStream.c diff --git a/LUFA/Drivers/Peripheral/SerialStream.c b/LUFA/Drivers/Peripheral/SerialStream.c index fec5f7314..0e7b24c53 100644 --- a/LUFA/Drivers/Peripheral/SerialStream.c +++ b/LUFA/Drivers/Peripheral/SerialStream.c @@ -28,18 +28,22 @@ this software. */ +#define INCLUDE_FROM_SERIALSTREAM_C #include "SerialStream.h" FILE USARTStream = FDEV_SETUP_STREAM(SerialStream_TxByte, SerialStream_RxByte, _FDEV_SETUP_RW); -int SerialStream_TxByte(char DataByte, FILE *Stream) +static int SerialStream_TxByte(char DataByte, FILE *Stream) { + (void)Stream; + Serial_TxByte(DataByte); - return 0; } -int SerialStream_RxByte(FILE *Stream) +static int SerialStream_RxByte(FILE *Stream) { + (void)Stream; + return Serial_RxByte(); }