Fix SHUB_INST macro values with kernel 08/264608/2 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.115445 accepted/tizen/unified/20210927.120917 submit/tizen/20210927.070854 submit/tizen_6.5/20211028.163201 tizen_6.5.m2_release
authortaemin.yeom <taemin.yeom@samsung.com>
Mon, 27 Sep 2021 06:28:03 +0000 (15:28 +0900)
committertaemin.yeom <taemin.yeom@samsung.com>
Mon, 27 Sep 2021 06:48:44 +0000 (15:48 +0900)
Change-Id: I7f4812b89d1174dd852032ecb1e8b29f7b116d84
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
src/sensorhub/sensorhub_sensor.h

index cde7742..d5e9da4 100644 (file)
@@ -24,8 +24,8 @@
 
 #define SHUB_INST_LIB_GETVALUE  (uint8_t)0x35
 #define SHUB_INST_LIB_PUTVALUE  (uint8_t)0x36
-#define SHUB_INST_LIB_ADD       (uint8_t)0x37
-#define SHUB_INST_LIB_REMOVE    (uint8_t)0x38
+#define SHUB_INST_LIB_ADD       ((char)-79)
+#define SHUB_INST_LIB_REMOVE    ((char)-78)
 
 #define SHUB_PROP_USR_INFO_AGE      16
 #define SHUB_PROP_USR_INFO_HEIGHT   18