mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-16 04:18:20 +00:00
[compoenets] auto & manual formatted
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user