summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorAubr.Cool <[email protected]>2017-08-29 11:42:38 +0800
committerAubr.Cool <[email protected]>2017-08-30 08:00:36 +0800
commit44bac92a93a3fac38e34727b47860e99d33e659b (patch)
tree635b2078efeecf6e2a8faebb65b4581aab657f81 /components/drivers/include
parentf5c1291826127762380ebb2f211c3e1dacd8450f (diff)
[Components]drivers can change txcompletion to sem
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/can.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/include/drivers/can.h b/components/drivers/include/drivers/can.h
index 71b577eba0..ecf3b5f51e 100644
--- a/components/drivers/include/drivers/can.h
+++ b/components/drivers/include/drivers/can.h
@@ -280,7 +280,7 @@ struct rt_can_sndbxinx_list
struct rt_can_tx_fifo
{
struct rt_can_sndbxinx_list *buffer;
- struct rt_completion completion;
+ struct rt_semaphore sem;
struct rt_list_node freelist;
};