summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh_consolemain.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nshlib/nsh_consolemain.c')
-rw-r--r--apps/nshlib/nsh_consolemain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/nshlib/nsh_consolemain.c b/apps/nshlib/nsh_consolemain.c
index a6e28c051..baf2e74b4 100644
--- a/apps/nshlib/nsh_consolemain.c
+++ b/apps/nshlib/nsh_consolemain.c
@@ -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);