Minor code cleanups for clarity.
This commit is contained in:
parent
5de364163f
commit
04774208b6
11 changed files with 33 additions and 33 deletions
|
@ -28,18 +28,19 @@
|
|||
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)
|
||||
{
|
||||
Serial_TxByte(DataByte);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int SerialStream_RxByte(FILE *Stream)
|
||||
static int SerialStream_RxByte(FILE *Stream)
|
||||
{
|
||||
return Serial_RxByte();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue