Merge pull request #5189 from rtthread-bot/rtt_bot

[update] RT-Thread Robot automatic submission
This commit is contained in:
guo 2021-10-15 16:10:31 +08:00 committed by GitHub
commit a14aee98e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 */