git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2120 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
d82a8cce21
commit
648b45ee26
|
@ -127,7 +127,7 @@ static rt_err_t _spidev_device_control(rt_device_t dev, rt_uint8_t cmd, void *ar
|
||||||
rt_err_t rt_spidev_device_init(struct rt_spi_device* dev, const char* name)
|
rt_err_t rt_spidev_device_init(struct rt_spi_device* dev, const char* name)
|
||||||
{
|
{
|
||||||
struct rt_device* device;
|
struct rt_device* device;
|
||||||
RT_ASSERT(device != RT_NULL);
|
RT_ASSERT(dev != RT_NULL);
|
||||||
|
|
||||||
device = &(dev->parent);
|
device = &(dev->parent);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue