mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 01:47:09 +08:00
将NULL
修改为RT_NULL
This commit is contained in:
parent
ad197870d2
commit
7e4e58a50e
@ -126,7 +126,7 @@ static rt_uint32_t xfer(struct rt_spi_device* device, struct rt_spi_message* mes
|
||||
rt_uint32_t spi_periph = (rt_uint32_t)device->bus->parent.user_data;
|
||||
struct rt_spi_configuration * config = &device->config;
|
||||
|
||||
RT_ASSERT(device != NULL);
|
||||
RT_ASSERT(device != RT_NULL);
|
||||
RT_ASSERT(message != NULL);
|
||||
|
||||
/* take CS */
|
||||
|
Loading…
x
Reference in New Issue
Block a user