From 032fb73de6a748c6ab68f52a43198d99f91794d9 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Fri, 15 Oct 2021 08:37:32 -0400 Subject: [PATCH] [bsp][Vango V85xx] modify NULL to RT_NULL --- bsp/Vango_V85xx/drivers/drv_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/Vango_V85xx/drivers/drv_spi.c b/bsp/Vango_V85xx/drivers/drv_spi.c index 6f71684e4c..a875ba20c4 100644 --- a/bsp/Vango_V85xx/drivers/drv_spi.c +++ b/bsp/Vango_V85xx/drivers/drv_spi.c @@ -127,7 +127,7 @@ static rt_uint32_t xfer(struct rt_spi_device* device, struct rt_spi_message* mes struct rt_spi_configuration * config = &device->config; RT_ASSERT(device != RT_NULL); - RT_ASSERT(message != NULL); + RT_ASSERT(message != RT_NULL); /* take CS */ if(message->cs_take)