summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguo <[email protected]>2021-10-15 16:10:31 +0800
committerGitHub <[email protected]>2021-10-15 16:10:31 +0800
commita14aee98e12983c217799c709fea1ff53be127c9 (patch)
tree6896c3f4051973bc7c5e915214c0572a847b5b1c
parentcda8caeda0cf105dd660192e367017eea0d407ec (diff)
parentb7258740e6fe37a305a9db53a485e08e38a59e85 (diff)
Merge pull request #5189 from rtthread-bot/rtt_bot
[update] RT-Thread Robot automatic submission
-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 */