diff options
| author | yangjie11 <[email protected]> | 2020-11-25 14:36:54 +0800 |
|---|---|---|
| committer | yangjie11 <[email protected]> | 2020-11-25 14:36:54 +0800 |
| commit | 6e46b3fec02cd5212402e036bac77622008094dc (patch) | |
| tree | cd992dad68f2da070123d80770877dd1499693b6 /src | |
| parent | d79802b942e77389e1f885d9fe27a62434c652f9 (diff) | |
| parent | 58e9e022a7aa657a8e666025cd2a587a27e911e3 (diff) | |
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into malloc
Diffstat (limited to 'src')
| -rw-r--r-- | src/clock.c | 11 | ||||
| -rw-r--r-- | src/object.c | 14 |
2 files changed, 1 insertions, 24 deletions
diff --git a/src/clock.c b/src/clock.c index a91cd829b6..9fd276cf6f 100644 --- a/src/clock.c +++ b/src/clock.c @@ -25,17 +25,6 @@ static rt_tick_t rt_tick = 0; #endif /** - * This function will initialize system tick and set it to zero. - * @ingroup SystemInit - * - * @deprecated since 1.1.0, this function does not need to be invoked - * in the system initialization. - */ -void rt_system_tick_init(void) -{ -} - -/** * @addtogroup Clock */ 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(); |
