From 1582011bad013136914824faf520b8fbac35e3c8 Mon Sep 17 00:00:00 2001 From: bernie Date: Tue, 24 Aug 2004 13:49:39 +0000 Subject: [PATCH] Fix thinko. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@150 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/ser.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drv/ser.c b/drv/ser.c index 3e0c3440..52e5652e 100755 --- a/drv/ser.c +++ b/drv/ser.c @@ -28,6 +28,9 @@ /* * $Log$ + * Revision 1.12 2004/08/24 13:49:39 bernie + * Fix thinko. + * * Revision 1.11 2004/08/15 05:32:22 bernie * ser_resync(): New function. * @@ -367,8 +370,8 @@ void ser_setparity(struct Serial *port, int parity) */ void ser_purge(struct Serial *port) { - fifo_flush_locked(&ser->rxfifo); - fifo_flush_locked(&ser->txfifo); + fifo_flush_locked(&port->rxfifo); + fifo_flush_locked(&port->txfifo); } -- 2.25.1