From e26b7d8b2aaec253a5a821e89ebd098c6debc3e8 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 8 Feb 2020 09:00:16 +0000 Subject: [PATCH] Small documentation fix. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13328 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/rt/include/chvt.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h index ca3b8bf44..ebe2fe56e 100644 --- a/os/rt/include/chvt.h +++ b/os/rt/include/chvt.h @@ -157,8 +157,8 @@ static inline sysinterval_t chVTTimeElapsedSinceX(systime_t start) { /** * @brief Checks if the current system 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 When start==end then the function returns always false because the + * time window has zero size. * * @param[in] start the start of the time window (inclusive) * @param[in] end the end of the time window (non inclusive) @@ -175,8 +175,8 @@ static inline bool chVTIsSystemTimeWithinX(systime_t start, systime_t end) { /** * @brief Checks if the current system 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 When start==end then the function returns always false because the + * time window has zero size. * * @param[in] start the start of the time window (inclusive) * @param[in] end the end of the time window (non inclusive)