From 98749abfdfc28095eb45db8d594596c13645ed08 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 10 Jan 2008 15:04:57 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@175 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 4c3b05760..cbd1cfdd3 100644 --- a/src/chschd.c +++ b/src/chschd.c @@ -87,7 +87,7 @@ void chSchGoSleepS(t_tstate newstate) { #ifdef CH_USE_TRACE chDbgTrace(otp, currp); #endif - chSysSwitchI(&otp->p_ctx, &currp->p_ctx); + chSysSwitchI(otp, currp); } /** @@ -114,7 +114,7 @@ void chSchWakeupS(Thread *ntp, t_msg msg) { #ifdef CH_USE_TRACE chDbgTrace(otp, ntp); #endif - chSysSwitchI(&otp->p_ctx, &ntp->p_ctx); + chSysSwitchI(otp, ntp); } } @@ -131,7 +131,7 @@ void chSchDoRescheduleI(void) { #ifdef CH_USE_TRACE chDbgTrace(otp, currp); #endif - chSysSwitchI(&otp->p_ctx, &currp->p_ctx); + chSysSwitchI(otp, currp); } /** -- cgit v1.2.3