Change SENSOR_DEVICE_LIDAR enum value 06/268506/1 submit/tizen_6.5/20211224.042337
authortaemin.yeom <taemin.yeom@samsung.com>
Fri, 24 Dec 2021 02:11:56 +0000 (11:11 +0900)
committerTaemin Yeom <taemin.yeom@samsung.com>
Fri, 24 Dec 2021 02:12:55 +0000 (02:12 +0000)
To avoid overflow in HAL backend

Change-Id: I40c3736a1b73e13bdc96b58bf918c6f716c004af
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
include/hal-sensor-types.h

index 32c3f20..2d407ea 100644 (file)
@@ -139,6 +139,8 @@ typedef enum {
   SENSOR_DEVICE_ECG,
   SENSOR_DEVICE_FALL_DETECTION,
 
+  SENSOR_DEVICE_LIDAR = 0x3000,
+
   SENSOR_DEVICE_CONTEXT = 0x7000,
   SENSOR_DEVICE_MOTION,
   SENSOR_DEVICE_PIR,
@@ -153,8 +155,6 @@ typedef enum {
   SENSOR_DEVICE_GSR,
   SENSOR_DEVICE_SIMSENSE,
   SENSOR_DEVICE_PPG,
-
-  SENSOR_DEVICE_LIDAR = 0x8000,
 } sensor_device_type;
 
 /*