projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3536ad5
)
Fix thinko.
author
bernie
<bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 24 Aug 2004 13:49:39 +0000
(13:49 +0000)
committer
bernie
<bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 24 Aug 2004 13:49:39 +0000
(13:49 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@150
38d2e660
-2303-0410-9eaa-
f027e97ec537
drv/ser.c
patch
|
blob
|
history
diff --git
a/drv/ser.c
b/drv/ser.c
index 3e0c3440d4a1c88ec39dfebd6465f252df61f7a4..52e5652eb0b89074ceaa01e1b62e9db5d5c11316 100755
(executable)
--- 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);
}