1 /*
2  * Copyright (c) 2006-2021, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2021-11-14     Meco Man     the first version
9  */
10 
11 #include "workqueue_legacy.h"
12 
rt_delayed_work_init(struct rt_delayed_work * work,void (* work_func)(struct rt_work * work,void * work_data),void * work_data)13 void rt_delayed_work_init(struct rt_delayed_work *work,
14                           void (*work_func)(struct rt_work *work,
15                           void *work_data), void *work_data)
16 {
17     rt_work_init(&work->work, work_func, work_data);
18 }
19