summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorUrey <[email protected]>2017-03-14 10:59:05 +0800
committerGitHub <[email protected]>2017-03-14 10:59:05 +0800
commit0de261f123434bf43e02134de1560884a37be63e (patch)
tree73da7b193c351496b68a5b690ff5349fc14141ca /components/drivers/include
parent564e7aefce3fd5a8aca43c980f427989f69b59aa (diff)
parent69f5767868655576019988edb39866d99b275916 (diff)
Merge pull request #1 from RT-Thread/master
update
Diffstat (limited to 'components/drivers/include')
-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