diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-19 10:18:25 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-19 10:18:25 +0000 |
commit | b4e2fca4a0ff8ed15625cdbf57cb4e8fe90c7647 (patch) | |
tree | 6578dbeba4be4e29a58ee6e7dfff7cd2f95ccd1e /os/rt | |
parent | 632d7d19851253d98379a1b274dabae056fa8351 (diff) | |
download | ChibiOS-b4e2fca4a0ff8ed15625cdbf57cb4e8fe90c7647.tar.gz ChibiOS-b4e2fca4a0ff8ed15625cdbf57cb4e8fe90c7647.tar.bz2 ChibiOS-b4e2fca4a0ff8ed15625cdbf57cb4e8fe90c7647.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6174 35acf78f-673a-0410-8e92-d51de3d6d3f4
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.
|