Skip to content
Snippets Groups Projects
Commit d54fb011 authored by patacongo's avatar patacongo
Browse files

Fix bad trace data storage

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1094 42af7a65-404d-4744-a932-0658087f49c3
parent 9da805f7
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ void usbtrace(uint16 event, uint16 value)
/* Yes... save the new trace data at the head */
g_trace[g_head].event = event;
g_trace[g_tail].event = value;
g_trace[g_head].value = value;
/* Increment the head and (probably) the tail index */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment