Skip to content

Commit 3e6b769

Browse files
BernardXionggitee-org
authored andcommitted
!350 解决创建PR时的报错
Merge pull request !350 from 傅尔先森/gitee_master
2 parents 71f88fb + 7e4e58a commit 3e6b769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/Vango_V85xx/drivers/drv_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static rt_uint32_t xfer(struct rt_spi_device* device, struct rt_spi_message* mes
126126
rt_uint32_t spi_periph = (rt_uint32_t)device->bus->parent.user_data;
127127
struct rt_spi_configuration * config = &device->config;
128128

129-
RT_ASSERT(device != NULL);
129+
RT_ASSERT(device != RT_NULL);
130130
RT_ASSERT(message != NULL);
131131

132132
/* take CS */

0 commit comments

Comments
 (0)