diff options
| author | qiyongzhong0 <[email protected]> | 2020-09-18 09:45:47 +0800 |
|---|---|---|
| committer | qiyongzhong0 <[email protected]> | 2020-09-18 09:45:47 +0800 |
| commit | 967cc968e8d3a3f2b371b84a0b95619d4974e421 (patch) | |
| tree | 43e576efd3c8985dca0c21b7230339adc2bcdae4 /components/drivers/src/dataqueue.c | |
| parent | 44baf269f79903d83359f23aab60ca17560e422c (diff) | |
fix difference of style
Diffstat (limited to 'components/drivers/src/dataqueue.c')
| -rw-r--r-- | components/drivers/src/dataqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/src/dataqueue.c b/components/drivers/src/dataqueue.c index 7aea0ab246..bfe8e12573 100644 --- a/components/drivers/src/dataqueue.c +++ b/components/drivers/src/dataqueue.c @@ -43,7 +43,7 @@ rt_data_queue_init(struct rt_data_queue *queue, rt_list_init(&(queue->suspended_push_list)); rt_list_init(&(queue->suspended_pop_list)); - + queue->queue = (struct rt_data_item *)rt_malloc(sizeof(struct rt_data_item) * size); if (queue->queue == RT_NULL) { |
