From fa9b36aff3676a897503a359314d08db8fc5a09d Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 14 Feb 2009 18:20:33 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@766 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chschd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/chschd.c') 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); -- cgit v1.2.3