From 7e4e58a50e037e7b59c65c29b2d500abc6239d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=82=85=E5=B0=94=E5=85=88=E6=A3=AE?= Date: Sun, 26 Sep 2021 06:13:38 +0000 Subject: [PATCH] =?UTF-8?q?=E5=B0=86`NULL`=E4=BF=AE=E6=94=B9=E4=B8=BA`RT?= =?UTF-8?q?=5FNULL`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 ce0e5bd87d..6f71684e4c 100644 --- a/bsp/Vango_V85xx/drivers/drv_spi.c +++ b/bsp/Vango_V85xx/drivers/drv_spi.c @@ -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 */