aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-04-22 13:08:10 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-04-22 13:08:10 +0000
commit75962347e8a67ddc3d97e0034204e86bfed23652 (patch)
tree6e9b1919eeb956effb8743db373ecb88da70b9d2 /os/rt
parentdde9abf1edc845608184765116ed9247e2f4f298 (diff)
downloadChibiOS-75962347e8a67ddc3d97e0034204e86bfed23652.tar.gz
ChibiOS-75962347e8a67ddc3d97e0034204e86bfed23652.tar.bz2
ChibiOS-75962347e8a67ddc3d97e0034204e86bfed23652.zip
More API in the C++ wrapper, minor documentation fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11948 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/rt')
-rw-r--r--os/rt/src/chthreads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/src/chthreads.c b/os/rt/src/chthreads.c
index 4d0a641e9..a481cbc34 100644
--- a/os/rt/src/chthreads.c
+++ b/os/rt/src/chthreads.c
@@ -389,7 +389,7 @@ thread_t *chThdStart(thread_t *tp) {
#if (CH_CFG_USE_REGISTRY == TRUE) || defined(__DOXYGEN__)
/**
* @brief Adds a reference to a thread object.
- * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in
+ * @pre The configuration option @p CH_CFG_USE_REGISTRY must be enabled in
* order to use this function.
*
* @param[in] tp pointer to the thread
@@ -416,7 +416,7 @@ thread_t *chThdAddRef(thread_t *tp) {
* from the registry.<br>
* Threads whose counter reaches zero and are still active become
* "detached" and will be removed from registry on termination.
- * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in
+ * @pre The configuration option @p CH_CFG_USE_REGISTRY must be enabled in
* order to use this function.
* @note Static threads are not affected.
*