aboutsummaryrefslogtreecommitdiffstats
path: root/src/chdebug.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-10-25 09:34:25 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-10-25 09:34:25 +0000
commit902470d1c542735b989a727355744a974af43de4 (patch)
tree3b467b808f7323438f8a7625e02da3536dc52d62 /src/chdebug.c
parent8317685beb67ed9341bc83d03153580b816f452e (diff)
downloadChibiOS-902470d1c542735b989a727355744a974af43de4.tar.gz
ChibiOS-902470d1c542735b989a727355744a974af43de4.tar.bz2
ChibiOS-902470d1c542735b989a727355744a974af43de4.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@481 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chdebug.c')
-rw-r--r--src/chdebug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/chdebug.c b/src/chdebug.c
index a826776fe..56edd2a0d 100644
--- a/src/chdebug.c
+++ b/src/chdebug.c
@@ -60,11 +60,7 @@ TraceBuffer dbgtb;
void chDbgTrace(Thread *otp, Thread *ntp) {
dbgtb.tb_ptr->cse_wtobjp = otp->p_wtobjp;
-#ifdef CH_USE_SYSTEMTIME
dbgtb.tb_ptr->cse_time = chSysGetTime();
-#else
- dbgtb.tb_ptr->cse_time = 0;
-#endif
dbgtb.tb_ptr->cse_state = otp->p_state;
dbgtb.tb_ptr->cse_tid = ntp->p_tid;
if (++dbgtb.tb_ptr >= &dbgtb.tb_buffer[TRACE_BUFFER_SIZE])