Merge pull request #5193 from mysterywolf/null

This commit is contained in:
guo 2021-10-19 07:42:42 +08:00 committed by GitHub
commit a5c3d8514b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)