Add support for the USB trace cability in NSH when a USB console is used

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4774 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-05-26 18:05:26 +00:00
parent cdac847a4d
commit bf760f29b4
6 changed files with 101 additions and 14 deletions

View File

@@ -124,6 +124,10 @@ int nsh_consolemain(int argc, char *argv[])
for (;;)
{
/* For the case of debugging the USB console... dump collected USB trace data */
nsh_usbtrace();
/* Display the prompt string */
fputs(g_nshprompt, pstate->cn_outstream);