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 | 7891de46d1f472623df2e237c39e00dc0781d036 (patch) | |
tree | f561a4bdf3ecd4bc966c7c644a23b869321a3ea9 /libsensors/sensors.h | |
parent | 082c9cca4faf63a060aab6ef6502eb6c471b4070 (diff) | |
download | device_samsung_tuna-7891de46d1f472623df2e237c39e00dc0781d036.zip device_samsung_tuna-7891de46d1f472623df2e237c39e00dc0781d036.tar.gz device_samsung_tuna-7891de46d1f472623df2e237c39e00dc0781d036.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) |