diff options
author | Arve Hjønnevåg <arve@android.com> | 2011-08-17 17:51:47 -0700 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2011-08-18 15:41:14 -0700 |
commit | 47bb9acbaf953df46a7f7469927136b2cfd618a2 (patch) | |
tree | 317d88075ed63e554cc04aa20de78d252dfa7f7e /libsensors/sensors.h | |
parent | 40155765aa0eb3832ef83fd0a53257d84e553e62 (diff) | |
download | device_samsung_tuna-47bb9acbaf953df46a7f7469927136b2cfd618a2.zip device_samsung_tuna-47bb9acbaf953df46a7f7469927136b2cfd618a2.tar.gz device_samsung_tuna-47bb9acbaf953df46a7f7469927136b2cfd618a2.tar.bz2 |
sensors: Let MPLSensor populate the sensor list with the sensors it provides
If the mpl library is not available we do not want the fused sensors from
MPLSensor.
Change-Id: If2ac70188db8c0319cc24dc546d60a34de1c986d
Diffstat (limited to 'libsensors/sensors.h')
-rw-r--r-- | libsensors/sensors.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/libsensors/sensors.h b/libsensors/sensors.h index 49610ca..a7e077d 100644 --- a/libsensors/sensors.h +++ b/libsensors/sensors.h @@ -33,19 +33,8 @@ __BEGIN_DECLS #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) -/* - * The MPL-supported sensors need to have same IDs as in Invensense .so - * (from ID_MPL_BASE up to ID_O) - */ -#define ID_MPL_BASE (0) -#define ID_RV (ID_MPL_BASE) -#define ID_LA (ID_RV + 1) -#define ID_GR (ID_LA + 1) -#define ID_GY (ID_GR + 1) -#define ID_A (ID_GY + 1) -#define ID_M (ID_A + 1) -#define ID_O (ID_M + 1) -#define ID_L (ID_O + 1) +#define ID_SAMSUNG_BASE (0x1000) +#define ID_L (ID_SAMSUNG_BASE) #define ID_P (ID_L + 1) #define ID_PR (ID_P + 1) |