Fix bad trace data storage

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1094 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-10-28 17:20:37 +00:00
parent 9da805f7a6
commit d54fb01136
1 changed files with 1 additions and 1 deletions

View File

@ -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 */