From 73642ca0cce31ed6982813a90b89e4de05da76cb Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 13 Oct 2007 06:59:54 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@48 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chsleep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/chsleep.c') diff --git a/src/chsleep.c b/src/chsleep.c index 5814410f3..6c8cfc3c3 100644 --- a/src/chsleep.c +++ b/src/chsleep.c @@ -35,7 +35,7 @@ void chThdSleep(t_time time) { chSysLock(); chVTSetI(&vt, time, (t_vtfunc)chSchReadyI, currp); - chSchGoSleepI(PRSLEEP); + chSchGoSleepS(PRSLEEP); chSysUnlock(); } @@ -67,7 +67,7 @@ void chThdSleepUntil(t_time time) { chSysLock(); chVTSetI(&vt, (t_time)(time - stime), (t_vtfunc)chSchReadyI, currp); - chSchGoSleepI(PRSLEEP); + chSchGoSleepS(PRSLEEP); chSysUnlock(); } -- cgit v1.2.3