projects
/
platform
/
core
/
system
/
sensord.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecdee54
)
sensord: remove an useless event suffix name
07/99907/2
author
hs81.go
<hs81.go@samsung.com>
Tue, 4 Oct 2016 01:46:41 +0000
(10:46 +0900)
committer
kibak.yoon
<kibak.yoon@samsung.com>
Wed, 30 Nov 2016 13:03:36 +0000
(22:03 +0900)
Change-Id: Ia16741513429196bdbb1063e9a7dcdce62f8a41b
Signed-off-by: hs81.go <hs81.go@samsung.com>
src/client/client_common.cpp
patch
|
blob
|
history
diff --git
a/src/client/client_common.cpp
b/src/client/client_common.cpp
index
ec17a1f
..
a0a7345
100644
(file)
--- a/
src/client/client_common.cpp
+++ b/
src/client/client_common.cpp
@@
-42,9
+42,8
@@
const char* get_sensor_name(sensor_id_t id)
const char* get_event_name(unsigned int event_type)
{
sensor_type_t type = (sensor_type_t) (event_type >> SENSOR_EVENT_SHIFT);
- std::string name(util_sensor_type_t::get_string(type));
- return
name.append("_EVENT").c_str(
);
+ return
util_sensor_type_t::get_string(type
);
}
unsigned int get_calibration_event_type(unsigned int event_type)