diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/kernel/src/chdebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/kernel/src/chdebug.c b/os/kernel/src/chdebug.c index 8a5b58744..38626387b 100644 --- a/os/kernel/src/chdebug.c +++ b/os/kernel/src/chdebug.c @@ -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;
|