diff options
| author | thread-liu <[email protected]> | 2020-12-03 09:09:00 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-03 09:09:00 +0800 |
| commit | d97530e0ffc6e28a7a68f66dfcf775f02fc007e5 (patch) | |
| tree | 523fdc8c8b15b4c68501ec7f09b29c26954a51db /src/object.c | |
| parent | 73391c60fb7b26c5c05188b065196eea75d63145 (diff) | |
| parent | df3d4b7bc9cab6dcc0aaf87cd32bd67bb1531036 (diff) | |
Merge branch 'master' into step4
Diffstat (limited to 'src/object.c')
| -rw-r--r-- | src/object.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/object.c b/src/object.c index 6866d805ca..56263618b3 100644 --- a/src/object.c +++ b/src/object.c @@ -192,18 +192,6 @@ void rt_object_put_sethook(void (*hook)(struct rt_object *object)) #endif /** - * @ingroup SystemInit - * - * This function will initialize system object management. - * - * @deprecated since 0.3.0, this function does not need to be invoked - * in the system initialization. - */ -void rt_system_object_init(void) -{ -} - -/** * @addtogroup KernelObject */ @@ -485,7 +473,7 @@ void rt_object_delete(rt_object_t object) RT_OBJECT_HOOK_CALL(rt_object_detach_hook, (object)); /* reset object type */ - object->type = 0; + object->type = RT_Object_Class_Null; /* lock interrupt */ temp = rt_hw_interrupt_disable(); |
