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