X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fser.c;h=5b9f2a362a69d365584da002d5f4b38de3f56a73;hb=46ac2c9347e738ee3c23109b83d522023ac4e7c9;hp=15bd2b568813f34357dbc19a2f7653165cf270f2;hpb=ce73a2884628b0beac1f41f403bf0df9096ab38c;p=bertos.git diff --git a/drv/ser.c b/drv/ser.c index 15bd2b56..5b9f2a36 100755 --- a/drv/ser.c +++ b/drv/ser.c @@ -28,6 +28,9 @@ /*#* *#* $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. *#* @@ -456,11 +459,6 @@ void ser_setparity(struct Serial *port, int 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.