Correct several errors in STM32 serial port configuration

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3744 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-07-04 22:38:45 +00:00
parent 10d3d3d4bb
commit 5d5d7d7b88
2 changed files with 7 additions and 1 deletions

View File

@ -901,6 +901,12 @@ NSH-Specific Configuration Settings
the system console is used to provide debug output. Default:
stdin and stdout (probably "/dev/console")
NOTE: When any other device other than /dev/console is used
for a user interface, (1) linefeeds (\n) will not be expanded to
carriage return / linefeeds (\r\n). You will need to set
your terminal program to account for this. And (2) input is
not automatically echoed so you will have to turn local echo on.
* CONFIG_NSH_TELNET
If CONFIG_NSH_TELNET is set to 'y', then a TELENET
server front-end is selected. When this option is provided,

View File

@ -476,7 +476,7 @@ int nsh_consolemain(int argc, char *argv[])
/* Present a greeting */
fprintf(pstate->ss_outstream, g_nshgreeting);
fputs(g_nshgreeting, pstate->ss_outstream);
fflush(pstate->ss_outstream);
/* Execute the startup script */