| 23 | |
| 24 | |
| 25 | void 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 | } |
no test coverage detected