aboutsummaryrefslogtreecommitdiffstats
path: root/src/chsleep.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-03 12:18:39 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-03 12:18:39 +0000
commit071e9457b0645f07a90485bd7a7c68fa5e34801b (patch)
tree913bcd56a5dc926e670581af78ca3e0c9cfce8fc /src/chsleep.c
parentd1ffba4de3c102f20a1985a7c5576a9627bd5287 (diff)
downloadChibiOS-071e9457b0645f07a90485bd7a7c68fa5e34801b.tar.gz
ChibiOS-071e9457b0645f07a90485bd7a7c68fa5e34801b.tar.bz2
ChibiOS-071e9457b0645f07a90485bd7a7c68fa5e34801b.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@421 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chsleep.c')
-rw-r--r--src/chsleep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/chsleep.c b/src/chsleep.c
index 7f9f161f1..1fc686120 100644
--- a/src/chsleep.c
+++ b/src/chsleep.c
@@ -24,7 +24,6 @@
#include <ch.h>
-#ifdef CH_USE_SLEEP
/**
* Suspends the invoking thread for the specified time.
* @param time the system ticks number
@@ -32,12 +31,9 @@
void chThdSleep(systime_t time) {
chSysLock();
-
chSchGoSleepTimeoutS(PRSLEEP, time);
-
chSysUnlock();
}
-#endif /* CH_USE_SLEEP */
#ifdef CH_USE_SYSTEMTIME
/**