[compoenets] auto & manual formatted

This commit is contained in:
Meco Man
2021-03-08 18:19:04 +08:00
parent ce86058201
commit 3c05a4e719
749 changed files with 27655 additions and 27651 deletions

View File

@@ -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
*
@@ -48,7 +48,7 @@ static rt_err_t _spi_bus_device_control(rt_device_t dev,
{
case 0: /* set device */
break;
case 1:
case 1:
break;
}
@@ -56,7 +56,7 @@ static rt_err_t _spi_bus_device_control(rt_device_t dev,
}
#ifdef RT_USING_DEVICE_OPS
const static struct rt_device_ops spi_bus_ops =
const static struct rt_device_ops spi_bus_ops =
{
RT_NULL,
RT_NULL,
@@ -129,7 +129,7 @@ static rt_err_t _spidev_device_control(rt_device_t dev,
{
case 0: /* set device */
break;
case 1:
case 1:
break;
}
@@ -137,7 +137,7 @@ static rt_err_t _spidev_device_control(rt_device_t dev,
}
#ifdef RT_USING_DEVICE_OPS
const static struct rt_device_ops spi_device_ops =
const static struct rt_device_ops spi_device_ops =
{
RT_NULL,
RT_NULL,