Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions include/rtdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,9 @@ typedef int (*init_fn_t)(void);

/**
* @addtogroup group_object_management
* @{
*/

/**@{*/

/*
* kernel object macros
*/
Expand Down Expand Up @@ -512,7 +511,7 @@ struct rt_object_information
#define RT_OBJECT_HOOKLIST_CALL(name, argv)
#endif /* RT_USING_HOOKLIST */

/**@}*/
/** @} group_object_management */

/**
* @addtogroup group_clock_management
Expand Down
7 changes: 0 additions & 7 deletions include/rtthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ extern "C" {
int entry(void);
#endif

/**
* @addtogroup group_object_management
* @{
*/

/*
* kernel object interface
*/
Expand Down Expand Up @@ -87,8 +82,6 @@ void rt_object_take_sethook(void (*hook)(struct rt_object *object));
void rt_object_put_sethook(void (*hook)(struct rt_object *object));
#endif /* RT_USING_HOOK */

/**@}*/

/**
* @addtogroup group_clock_management
* @{
Expand Down
10 changes: 4 additions & 6 deletions src/object.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,9 @@ void (*rt_object_put_hook)(struct rt_object *object);

/**
* @addtogroup group_hook
* @{
*/

/**@{*/

/**
* @brief This function will set a hook function, which will be invoked when object
* attaches to kernel object system.
Expand Down Expand Up @@ -231,15 +230,14 @@ void rt_object_put_sethook(void (*hook)(struct rt_object *object))
rt_object_put_hook = hook;
}

/**@}*/
/** @} group_hook */
#endif /* RT_USING_HOOK */

/**
* @addtogroup group_object_management
* @{
*/

/**@{*/

/**
* @brief This function will return the specified type of object information.
*
Expand Down Expand Up @@ -814,5 +812,5 @@ rt_err_t rt_custom_object_destroy(rt_object_t obj)
}
#endif

/**@}*/
/** @} group_object_management */

Loading