diff options
Diffstat (limited to 'src/chsleep.c')
-rw-r--r-- | src/chsleep.c | 4 |
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();
}
|