BugID:19137880:change the config name
@@ -34,12 +34,12 @@ ifeq ($(AOS_SENSOR_INT_ENABLE),y)
GLOBAL_DEFINES += SENSOR_INT_ENABLE
endif
-ifeq ($(AOS_SENSOR_IO_I2C_ENABLE),y)
+ifeq ($(AOS_SENSOR_I2C_ENABLE),y)
GLOBAL_DEFINES += UDATA_MEMS
GLOBAL_DEFINES += SENSOR_I2C_ENABLE
endif
-ifeq ($(AOS_SENSOR_IO_SPI_ENABLE),y)
+ifeq ($(AOS_SENSOR_SPI_ENABLE),y)
GLOBAL_DEFINES += UDATA_MEMS
GLOBAL_DEFINES += SENSOR_SPI_ENABLE
endif
@@ -59,4 +59,3 @@ endif
GLOBAL_INCLUDES += ./include
GLOBAL_DEFINES += AOS_SENSOR
include $(SOURCE_ROOT)/drivers/sensor/drv.mk
-
