git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1594 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2010-02-12 19:00:37 +00:00
parent 60f8ed2a0b
commit d9442768e2
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ void trace_init(void) {
*/
void chDbgTrace(Thread *otp, Thread *ntp) {
trace_buffer.tb_ptr->cse_wtobjp = otp->p_wtobjp;
trace_buffer.tb_ptr->cse_wtobjp = otp->p_u.wtobjp;
trace_buffer.tb_ptr->cse_time = chTimeNow();
trace_buffer.tb_ptr->cse_state = otp->p_state;
trace_buffer.tb_ptr->cse_tid = (unsigned)ntp >> 4;