summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernard <[email protected]>2021-10-15 01:23:26 +0000
committerGitee <[email protected]>2021-10-15 01:23:26 +0000
commit3e6b7690dbad5ce0c32557643a155dd79bc167d5 (patch)
treebc76bea5b891d276ba3fb833d102cfdfe671a9bc
parent71f88fb501b4c5cca99df00cb6cfa2ee0e0f30ac (diff)
parent7e4e58a50e037e7b59c65c29b2d500abc6239d2a (diff)
!350 解决创建PR时的报错
Merge pull request !350 from 傅尔先森/gitee_master
-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 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 */