From 811bbbc8fbe38cda9361b11d0e23fbc927153c53 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 25 Jan 2008 10:07:18 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@184 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chschd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/chschd.c') diff --git a/src/chschd.c b/src/chschd.c index 92a0fbb0d..1242ea275 100644 --- a/src/chschd.c +++ b/src/chschd.c @@ -90,6 +90,7 @@ void chSchGoSleepS(t_tstate newstate) { chSysSwitchI(otp, currp); } +#ifdef CH_USE_VIRTUAL_TIMERS static void wakeup(void *p) { if (((Thread *)p)->p_state == PRWTSEM) @@ -116,6 +117,7 @@ t_msg chSchGoSleepTimeoutS(t_tstate newstate, t_time time) { chVTResetI(&vt); return currp->p_rdymsg; } +#endif /* CH_USE_VIRTUAL_TIMERS */ /** * Wakeups a thread, the thread is inserted into the ready list or made -- cgit v1.2.3