Explorar o código

[bsp][Vango V85xx] modify NULL to RT_NULL

Meco Man %!s(int64=3) %!d(string=hai) anos
pai
achega
032fb73de6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bsp/Vango_V85xx/drivers/drv_spi.c

+ 1 - 1
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)