summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorguo <[email protected]>2021-10-19 07:42:42 +0800
committerGitHub <[email protected]>2021-10-19 07:42:42 +0800
commita5c3d8514b461b01d6b9458e49ebac82d3afc4cf (patch)
tree554df3f57ecb71e1f3a8a887d69435f713249d56 /bsp
parentf96ee3cbda29e9710cea04cf48fcb48ca883f30b (diff)
parent032fb73de6a748c6ab68f52a43198d99f91794d9 (diff)
Merge pull request #5193 from mysterywolf/null
Diffstat (limited to 'bsp')
-rw-r--r--bsp/Vango_V85xx/drivers/drv_spi.c2
1 files changed, 1 insertions, 1 deletions
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)