diff options
Diffstat (limited to 'os/rt')
-rw-r--r-- | os/rt/include/chsys.h | 2 | ||||
-rw-r--r-- | os/rt/src/chvt.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/os/rt/include/chsys.h b/os/rt/include/chsys.h index 5d6ce62aa..678770299 100644 --- a/os/rt/include/chsys.h +++ b/os/rt/include/chsys.h @@ -114,7 +114,7 @@ *
* @api
*/
-#define S2RTV(sec) (CH_CFG_RTC_FREQUENCY * (sec))
+#define S2RTC(sec) (CH_CFG_RTC_FREQUENCY * (sec))
/**
* @brief Milliseconds to realtime counter.
diff --git a/os/rt/src/chvt.c b/os/rt/src/chvt.c index 3f1559ac4..cc042d7c0 100644 --- a/os/rt/src/chvt.c +++ b/os/rt/src/chvt.c @@ -71,8 +71,7 @@ void _vt_init(void) { }
/**
- * @brief Checks if the current system time is within the specified time
- * window.
+ * @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.
|