projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Write md2_pad funtion.
[bertos.git]
/
drv
/
ser.c
diff --git
a/drv/ser.c
b/drv/ser.c
index 15bd2b568813f34357dbc19a2f7653165cf270f2..5b9f2a362a69d365584da002d5f4b38de3f56a73 100755
(executable)
--- a/
drv/ser.c
+++ b/
drv/ser.c
@@
-28,6
+28,9
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* Revision 1.36 2007/01/29 11:30:29 batt
+ *#* Reimplement ser_clearstatus as a macro.
+ *#*
*#* Revision 1.35 2007/01/27 20:47:12 batt
*#* Add clear status.
*#*
*#* Revision 1.35 2007/01/27 20:47:12 batt
*#* Add clear status.
*#*
@@
-456,11
+459,6
@@
void ser_setparity(struct Serial *port, int parity)
port->hw->table->setParity(port->hw, parity);
}
port->hw->table->setParity(port->hw, parity);
}
-void ser_clearstatus(struct Serial *port)
-{
- ser_setstatus(port, 0);
-}
-
/**
* Flush both the RX and TX buffers.
/**
* Flush both the RX and TX buffers.