aboutsummaryrefslogtreecommitdiffstats
path: root/src/chsleep.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-10-25 09:34:25 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-10-25 09:34:25 +0000
commit902470d1c542735b989a727355744a974af43de4 (patch)
tree3b467b808f7323438f8a7625e02da3536dc52d62 /src/chsleep.c
parent8317685beb67ed9341bc83d03153580b816f452e (diff)
downloadChibiOS-902470d1c542735b989a727355744a974af43de4.tar.gz
ChibiOS-902470d1c542735b989a727355744a974af43de4.tar.bz2
ChibiOS-902470d1c542735b989a727355744a974af43de4.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@481 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chsleep.c')
-rw-r--r--src/chsleep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/chsleep.c b/src/chsleep.c
index 1fc686120..7bf805471 100644
--- a/src/chsleep.c
+++ b/src/chsleep.c
@@ -35,7 +35,6 @@ void chThdSleep(systime_t time) {
chSysUnlock();
}
-#ifdef CH_USE_SYSTEMTIME
/**
* Checks if the current system time is within the specified time window.
* @param start the start of the time window (inclusive)
@@ -47,6 +46,5 @@ bool_t chSysInTimeWindow(systime_t start, systime_t end) {
return end >= start ? (time >= start) && (time < end) :
(time >= start) || (time < end);
}
-#endif /* CH_USE_SYSTEMTIME */
/** @} */