MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / append_pic

Function append_pic

components/drivers/pic/pic.c:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static void append_pic(struct rt_pic *pic)
73{
74 int pic_name_len = rt_strlen(pic->ops->name);
75
76 rt_list_insert_before(&_pic_nodes, &pic->list);
77
78 if (pic_name_len > _pic_name_max)
79 {
80 _pic_name_max = pic_name_len;
81 }
82}
83
84void rt_pic_default_name(struct rt_pic *pic)
85{

Callers 1

rt_pic_linear_irqFunction · 0.85

Calls 2

rt_strlenFunction · 0.85
rt_list_insert_beforeFunction · 0.85

Tested by

no test coverage detected