aboutsummaryrefslogtreecommitdiffstats
path: root/src/chsleep.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-13 06:59:54 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-13 06:59:54 +0000
commit73642ca0cce31ed6982813a90b89e4de05da76cb (patch)
tree3a55ba3629daf4d5b13bec0dcee9be1e20771b3d /src/chsleep.c
parent62645922467a2c748bf081b7eefb6ad775675418 (diff)
downloadChibiOS-73642ca0cce31ed6982813a90b89e4de05da76cb.tar.gz
ChibiOS-73642ca0cce31ed6982813a90b89e4de05da76cb.tar.bz2
ChibiOS-73642ca0cce31ed6982813a90b89e4de05da76cb.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@48 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chsleep.c')
-rw-r--r--src/chsleep.c4
1 files changed, 2 insertions, 2 deletions
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();
}