diff options
Diffstat (limited to 'os/common/oslib')
| -rw-r--r-- | os/common/oslib/include/chfactory.h | 6 | 
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++;
  | 
