diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-12-23 08:47:07 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-12-23 08:47:07 +0000 |
commit | 866e26bd215e035459fce31eebd3ae9ac4b05c1c (patch) | |
tree | aeef455ab7aa0be15c597ae6e67587f4d9fe2f20 /src/chthreads.c | |
parent | 7f7cdc881e70aa0356eaa647647ab5d4cd2b5d27 (diff) | |
download | ChibiOS-866e26bd215e035459fce31eebd3ae9ac4b05c1c.tar.gz ChibiOS-866e26bd215e035459fce31eebd3ae9ac4b05c1c.tar.bz2 ChibiOS-866e26bd215e035459fce31eebd3ae9ac4b05c1c.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@541 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chthreads.c')
-rw-r--r-- | src/chthreads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chthreads.c b/src/chthreads.c index 6b1121d97..a1c8a7b4e 100644 --- a/src/chthreads.c +++ b/src/chthreads.c @@ -294,7 +294,7 @@ void chThdTerminate(Thread *tp) { void chThdSleep(systime_t time) { chSysLock(); - chSchGoSleepTimeoutS(PRSLEEP, time); + chThdSleepS(time); chSysUnlock(); } @@ -307,7 +307,7 @@ void chThdSleepUntil(systime_t time) { chSysLock(); if ((time -= chSysGetTime()) > 0) - chSchGoSleepTimeoutS(PRSLEEP, time); + chThdSleepS(time); chSysUnlock(); } |