driver: sensor: lsm6ds: remove dead code by kconfig options
Removed dead code inside sensor_lsm6ds0.h. There is no kconfig option CONFIG_LSM6DS0_I2C_ADDR_6A neither 6B. Also the #define LSM6DS0_I2C_ADDR is not in use. Change-Id: Ib5a7f40d0d61542ed81687227df3795ba52ec725 Signed-off-by: Javier B Perez <javier.b.perez.hernandez@intel.com>
This commit is contained in:
parent
1029e4d992
commit
dfc15d3a48
1 changed files with 0 additions and 6 deletions
|
@ -326,12 +326,6 @@
|
|||
#define SENSOR_PI_DOUBLE (SENSOR_PI / 1000000.0)
|
||||
#define SENSOR_DEG2RAD_DOUBLE (180.0 / SENSOR_PI_DOUBLE)
|
||||
|
||||
#if defined(CONFIG_LSM6DS0_I2C_ADDR_6A)
|
||||
#define LSM6DS0_I2C_ADDR 0x6A
|
||||
#elif defined(CONFIG_LSM6DS0_I2C_ADDR_6B)
|
||||
#define LSM6DS0_I2C_ADDR 0x6B
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_LSM6DS0_ACCEL_ENABLE_X_AXIS)
|
||||
#define LSM6DS0_ACCEL_ENABLE_X_AXIS 1
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue