1
0

workqueue_legacy.c 481 B

123456789101112131415161718
  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. #include "workqueue_legacy.h"
  11. void rt_delayed_work_init(struct rt_delayed_work *work,
  12. void (*work_func)(struct rt_work *work,
  13. void *work_data), void *work_data)
  14. {
  15. rt_work_init(&work->work, work_func, work_data);
  16. }