diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-14 18:20:33 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-14 18:20:33 +0000 |
commit | fa9b36aff3676a897503a359314d08db8fc5a09d (patch) | |
tree | d7cbfc124faa41fa4ca14c270a178139931df8ad /src/chschd.c | |
parent | 50708b39516b77397dc76195ab963aa5909e48b0 (diff) | |
download | ChibiOS-fa9b36aff3676a897503a359314d08db8fc5a09d.tar.gz ChibiOS-fa9b36aff3676a897503a359314d08db8fc5a09d.tar.bz2 ChibiOS-fa9b36aff3676a897503a359314d08db8fc5a09d.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@766 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chschd.c')
-rw-r--r-- | src/chschd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chschd.c b/src/chschd.c index a07db5737..e3f4d9e0d 100644 --- a/src/chschd.c +++ b/src/chschd.c @@ -88,7 +88,7 @@ void chSchGoSleepS(tstate_t newstate) { #if CH_USE_ROUNDROBIN rlist.r_preempt = CH_TIME_QUANTUM; #endif -#if CH_USE_TRACE +#if CH_DBG_ENABLE_TRACE chDbgTrace(otp, currp); #endif chSysSwitchI(otp, currp); @@ -171,7 +171,7 @@ void chSchWakeupS(Thread *ntp, msg_t msg) { #if CH_USE_ROUNDROBIN rlist.r_preempt = CH_TIME_QUANTUM; #endif -#if CH_USE_TRACE +#if CH_DBG_ENABLE_TRACE /* trace the context switch */ chDbgTrace(otp, ntp); #endif @@ -194,7 +194,7 @@ void chSchDoRescheduleI(void) { #if CH_USE_ROUNDROBIN rlist.r_preempt = CH_TIME_QUANTUM; #endif -#if CH_USE_TRACE +#if CH_DBG_ENABLE_TRACE chDbgTrace(otp, currp); #endif chSysSwitchI(otp, currp); |