aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/oslib/include/chfactory.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-24 13:58:24 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-24 13:58:24 +0000
commitde3fbaebe6f00a5109f4a107372d0b059f27de51 (patch)
treecfd653584bdf76f56c2aa9e439191f781d88f5c5 /os/common/oslib/include/chfactory.h
parente0bfea5f016021d639093705b3baff1513cb066b (diff)
downloadChibiOS-de3fbaebe6f00a5109f4a107372d0b059f27de51.tar.gz
ChibiOS-de3fbaebe6f00a5109f4a107372d0b059f27de51.tar.bz2
ChibiOS-de3fbaebe6f00a5109f4a107372d0b059f27de51.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10896 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/oslib/include/chfactory.h')
-rw-r--r--os/common/oslib/include/chfactory.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/os/common/oslib/include/chfactory.h b/os/common/oslib/include/chfactory.h
index c00fe21a1..7ac414719 100644
--- a/os/common/oslib/include/chfactory.h
+++ b/os/common/oslib/include/chfactory.h
@@ -353,11 +353,9 @@ extern "C" {
* @param[in] dep pointer to the element field of the object
* @return The duplicated object reference.
*
- * @iclass
+ * @api
*/
-static inline dyn_element_t *chFactoryDuplicateReferenceI(dyn_element_t *dep) {
-
- chDbgCheckClassI();
+static inline dyn_element_t *chFactoryDuplicateReference(dyn_element_t *dep) {
dep->refs++;