From: Abraham vd M. <ab...@us...> - 2002-02-05 13:40:50
|
Update of /cvsroot/blob/blob/include/blob In directory usw-pr-cvs1:/tmp/cvs-serv15305/include/blob Modified Files: serial.h Log Message: Added a printf()-like function for printing to the serial port. Also some minor code cleanup in the memory checking routines. Index: serial.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/serial.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- serial.h 2002/01/05 20:14:34 1.5 +++ serial.h 2002/02/05 13:40:46 1.6 @@ -94,6 +94,9 @@ void SerialOutputHex(const u32 h); void SerialOutputDec(const u32 d); void SerialOutputBlock(const char *buf, int bufsize); +void SerialOutputChar (const char c); + +void SerialPrintf(const char *fmt, ...); int SerialInputString(char *s, const int len, const int timeout); int SerialInputBlock(char *buf, int bufsize, const int timeout); |