aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chsys.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-03 09:51:32 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-03 09:51:32 +0000
commit3368f57424db121a96207e9ee6f5e9f746d34ca6 (patch)
treedc023278c59177909c23ca1cc168d57097efbaba /os/rt/include/chsys.h
parent9d0c6fb8bf7bf63c137d7c19fdefc7760d2f133a (diff)
downloadChibiOS-3368f57424db121a96207e9ee6f5e9f746d34ca6.tar.gz
ChibiOS-3368f57424db121a96207e9ee6f5e9f746d34ca6.tar.bz2
ChibiOS-3368f57424db121a96207e9ee6f5e9f746d34ca6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6251 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chsys.h')
-rw-r--r--os/rt/include/chsys.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/rt/include/chsys.h b/os/rt/include/chsys.h
index eb1f859dd..6255b7d5a 100644
--- a/os/rt/include/chsys.h
+++ b/os/rt/include/chsys.h
@@ -179,14 +179,14 @@
/**
* @brief Returns the current value of the system real time counter.
* @note This function is only available if the port layer supports the
- * option @p CH_PORT_SUPPORTS_RT.
+ * option @p PORT_SUPPORTS_RT.
*
* @return The value of the system realtime counter of
* type rtcnt_t.
*
* @xclass
*/
-#if CH_PORT_SUPPORTS_RT || defined(__DOXYGEN__)
+#if PORT_SUPPORTS_RT || defined(__DOXYGEN__)
#define chSysGetRealtimeCounterX() (rtcnt_t)port_rt_get_counter_value()
#endif
@@ -220,7 +220,7 @@ extern "C" {
void chSysTimerHandlerI(void);
syssts_t chSysGetStatusAndLockX(void);
void chSysRestoreStatusX(syssts_t sts);
-#if CH_PORT_SUPPORTS_RT
+#if PORT_SUPPORTS_RT
bool chSysIsCounterWithinX(rtcnt_t cnt, rtcnt_t start, rtcnt_t end);
void chSysPolledDelayX(rtcnt_t cycles);
#endif