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

Function rt_application_init

bsp/bf533/application.c:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24
25void rt_application_init(void)
26{
27 rt_thread_t led_thread;
28
29#ifdef RT_USING_HEAP
30 led_thread = rt_thread_create("init", app_init_entry, RT_NULL, 512, 200, 20);
31#endif
32
33 if (led_thread != RT_NULL)
34 {
35 rt_thread_startup(led_thread);
36 }
37}

Callers 1

rtthread_startupFunction · 0.70

Calls 2

rt_thread_createFunction · 0.85
rt_thread_startupFunction · 0.85

Tested by

no test coverage detected