Minor code cleanups for clarity.

This commit is contained in:
Dean Camera 2009-11-11 09:09:39 +00:00
parent 5de364163f
commit 04774208b6
11 changed files with 33 additions and 33 deletions

View file

@ -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();
}