aboutsummaryrefslogtreecommitdiffstats
path: root/os/nil/src/nil.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/nil/src/nil.c')
-rw-r--r--os/nil/src/nil.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/os/nil/src/nil.c b/os/nil/src/nil.c
index 5d9a660f7..9141129cb 100644
--- a/os/nil/src/nil.c
+++ b/os/nil/src/nil.c
@@ -467,26 +467,6 @@ void chThdSleepUntil(systime_t time) {
}
/**
- * @brief Checks if the specified time is within the specified time window.
- * @note When start==end then the function returns always true because the
- * whole time range is specified.
- * @note This function can be called from any context.
- *
- * @param[in] time the time to be verified
- * @param[in] start the start of the time window (inclusive)
- * @param[in] end the end of the time window (non inclusive)
- * @retval true current time within the specified time window.
- * @retval false current time not within the specified time window.
- *
- * @xclass
- */
-bool chVTIsTimeWithinX(systime_t time, systime_t start, systime_t end) {
-
- return end > start ? (time >= start) && (time < end) :
- (time >= start) || (time < end);
-}
-
-/**
* @brief Performs a wait operation on a semaphore with timeout specification.
*
* @param[in] sp pointer to a @p semaphore_t structure