diff options
| author | Meco Man <[email protected]> | 2021-03-08 18:19:04 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-03-08 18:19:04 +0800 |
| commit | 3c05a4e7193ee553bf502560e7de4be6489c7629 (patch) | |
| tree | 69771215353ad4697e7c12a969f9bada32129265 /components/drivers/i2c | |
| parent | ce86058201432e865b8d7c4096b3675642a43a42 (diff) | |
[compoenets] auto & manual formatted
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, |
