aboutsummaryrefslogtreecommitdiffstats
path: root/src/chsleep.c
diff options
context:
space:
mode:
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
/**