summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoram Bae <boram21.bae@samsung.com>2021-02-17 15:55:54 +0900
committerBoram Bae <boram21.bae@samsung.com>2021-02-17 15:59:18 +0900
commit508300ebcd3dc462a42af5ac43671f8f0b56fe3b (patch)
tree5e18587953727effe35f790de23f20b71bb380c9
parent1d6e19a847fb178a263de4a0ef4955afa13e13c5 (diff)
downloadsensor-508300ebcd3dc462a42af5ac43671f8f0b56fe3b.tar.gz
sensor-508300ebcd3dc462a42af5ac43671f8f0b56fe3b.tar.bz2
sensor-508300ebcd3dc462a42af5ac43671f8f0b56fe3b.zip
* Change type from sensor_device_type to int Change-Id: I941b0d97ee96b80dede3dede362cf829fca957b6 Signed-off-by: Boram Bae <boram21.bae@samsung.com>
-rw-r--r--include/hal-sensor-types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/hal-sensor-types.h b/include/hal-sensor-types.h
index c805fc5..fcba0cd 100644
--- a/include/hal-sensor-types.h
+++ b/include/hal-sensor-types.h
@@ -87,6 +87,11 @@ typedef enum {
SENSOR_DEVICE_EXERCISE_STEPPER,
SENSOR_DEVICE_DATA_JOURNAL = 0x500,
+ SENSOR_DEVICE_MOTION_SENSOR,
+ SENSOR_DEVICE_FAKE,
+ SENSOR_DEVICE_TAP_SENSOR,
+ SENSOR_DEVICE_COLOR_SENSOR,
+ SENSOR_DEVICE_WIFI_MOTION_DETECTOR,
SENSOR_DEVICE_FUSION = 0x900,
SENSOR_DEVICE_AUTO_ROTATION,
@@ -158,7 +163,7 @@ typedef enum {
typedef struct sensor_info_t {
uint32_t id;
const char *name;
- sensor_device_type type;
+ int type; // sensor_device_type
unsigned int event_type; // for Internal API
const char *model_name;
const char *vendor;