apps/system/composite: Restore USB tracing; remove unused field in a structure.

This commit is contained in:
Gregory Nutt 2017-07-15 09:26:49 -06:00
parent 23f1dd5e48
commit 668179495f
2 changed files with 4 additions and 1 deletions

View File

@ -186,7 +186,6 @@ struct composite_state_s
*/
FAR void *cmphandle; /* Composite device handle */
FAR void *mschandle; /* Mass storage device handle */
/* Serial file descriptors */

View File

@ -549,6 +549,10 @@ int conn_main(int argc, char *argv[])
return EXIT_FAILURE;
}
/* Initialize USB trace output IDs */
usbtrace_enable(TRACE_BITSET);
#ifdef CONFIG_SYSTEM_COMPOSITE_DEBUGMM
# ifdef CONFIG_CAN_PASS_STRUCTS
g_composite.mmstart = mallinfo();