Quellcode durchsuchen

将`NULL`修改为`RT_NULL`

傅尔先森 vor 3 Jahren
Ursprung
Commit
7e4e58a50e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      bsp/Vango_V85xx/drivers/drv_spi.c

+ 1 - 1
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 */