drivers/serial: Don't disable Rx interrrupts on each character

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4631 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-04-18 17:08:27 +00:00
parent 6aa752b338
commit 530040b164
3 changed files with 60 additions and 22 deletions
+3 -2
View File
@@ -2667,7 +2667,8 @@
file was opened in binary mode.
* lib/stdio/lib_fopen.c: Correct an error in parsing open mode string. The
plus sign may not appear right after the basic mode. For example, "r+", "rb+",
and "r+b" are all value open strings and mean the same thing.
and "r+b" are all valid open strings and mean the same thing.
* lib/stdio/lib_fopen.c: Correct return errno value from f_open() and
f_fdopen() if the open mode string is invalid.
* drivers/serial/serial.c: Do not disable Rx interrupts on each byte.
Rather, only disable Rx interrupts when the Rx ring buffer may be empty.