diff options
| author | Meco Jianting Man <[email protected]> | 2021-03-17 02:32:02 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-17 02:32:02 +0800 |
| commit | 295b95cd7529bc9b85b4fb8ee8b37c62811ffbc8 (patch) | |
| tree | b834c7a930dd12735759a6358ccef2bb94cfcc6f /components/drivers/i2c | |
| parent | c3ffe18688a3696a486855ae98002714546bd836 (diff) | |
| parent | b12615f344e7e0824ab262994f443c452be04973 (diff) | |
Merge pull request #28 from RT-Thread/master
pr
Diffstat (limited to 'components/drivers/i2c')
| -rw-r--r-- | components/drivers/i2c/i2c-bit-ops.c | 2 | ||||
| -rw-r--r-- | components/drivers/i2c/i2c_core.c | 2 | ||||
| -rw-r--r-- | components/drivers/i2c/i2c_dev.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/components/drivers/i2c/i2c-bit-ops.c b/components/drivers/i2c/i2c-bit-ops.c index 3a9b4efeb3..ae1f4db9c0 100644 --- a/components/drivers/i2c/i2c-bit-ops.c +++ b/components/drivers/i2c/i2c-bit-ops.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006-2018, RT-Thread Development Team + * Copyright (c) 2006-2021, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * diff --git a/components/drivers/i2c/i2c_core.c b/components/drivers/i2c/i2c_core.c index f358c2b758..87178e37d5 100644 --- a/components/drivers/i2c/i2c_core.c +++ b/components/drivers/i2c/i2c_core.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006-2018, RT-Thread Development Team + * Copyright (c) 2006-2021, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * diff --git a/components/drivers/i2c/i2c_dev.c b/components/drivers/i2c/i2c_dev.c index 59f728be09..4f567f8227 100644 --- a/components/drivers/i2c/i2c_dev.c +++ b/components/drivers/i2c/i2c_dev.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006-2018, RT-Thread Development Team + * Copyright (c) 2006-2021, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * @@ -97,9 +97,9 @@ static rt_err_t i2c_bus_device_control(rt_device_t dev, } #ifdef RT_USING_DEVICE_OPS -const static struct rt_device_ops i2c_ops = +const static struct rt_device_ops i2c_ops = { - RT_NULL, + RT_NULL, RT_NULL, RT_NULL, i2c_bus_device_read, |
