diff --git a/include/rtthread.h b/include/rtthread.h index f0c9087e90..ce72bb82d8 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -40,6 +40,7 @@ void rt_object_detach(rt_object_t object); rt_object_t rt_object_allocate(enum rt_object_class_type type, const char* name); void rt_object_delete(rt_object_t object); rt_err_t rt_object_is_systemobject(rt_object_t object); +rt_object_t rt_object_find(const char* name, rt_uint8_t type); #ifdef RT_USING_HOOK void rt_object_attach_sethook(void (*hook)(struct rt_object* object));