summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 3b22248c97..74406e82f9 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -150,8 +150,9 @@ struct rt_data_queue
/* workqueue implementation */
struct rt_workqueue
{
- rt_list_t work_list;
- rt_thread_t work_thread;
+ rt_list_t work_list;
+ struct rt_work *work_current; /* current work */
+ rt_thread_t work_thread;
};
struct rt_work